From patchwork Mon Nov 13 01:22:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Li zeming X-Patchwork-Id: 164302 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp942556vqg; Sun, 12 Nov 2023 17:24:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IFo6bILLPEcMHAVBTPpV5JJO1N7TuV32M25K4rzBqf33qWYh2Ji9SbtJszF6pJo8fgx2I91 X-Received: by 2002:a05:6830:348b:b0:6d6:4e2b:7e47 with SMTP id c11-20020a056830348b00b006d64e2b7e47mr7899932otu.17.1699838674093; Sun, 12 Nov 2023 17:24:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699838674; cv=none; d=google.com; s=arc-20160816; b=YWk9ozlBu0Di/0Lf9XhhuE1urGvhhwxEV7jvGyvFyZuBaRHo4K2ycMlaOY2rVzgnXK GLAbdxrQlD8EN6Eu9z0FnvSwe6L0hO+1D3/tJP29GJxcXJLRdm9C3LB7r4EOTiCLeNHK xiiVnfc4yKo8zP7EsgcgMc4M2MxuN0+y3WKxDHITfsuxTf9IJHPYDfdHLLMjmUO+F8Pd PrS5YAqIh/7vFnrePBW/QujUFWTw6O62TCNmzEjoA74R2664vZSeMF5pb4LxQ2QBJYpe M5o/3q8LrQKlYR5Q7NmU9/GcsU28/yiDNQJa8TMhWK9w4LzjAh85z10h5Vb8QPFNRjsx 5ceA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=rhfasMMwfukH9stHwvK5E/41z76RQlJEMLqUSRptSFI=; fh=sWLie+AasJsw9DDDW1e64iCbiRVVQa5FiTafBEY5OzU=; b=vPTNB1DZ/YJKiA9DYkBNCSq2nIBpfe8oqT8Mv4TelyVC+JFAw2/Rio7H9oBro5l/7f h55DBfTbYQFOKVokx8WNAwo0s+INjocy5TQvEd3iqQtHgG4rr0/Duu9H6cyLmmRzNTEX Tdji0MQ7/1Fst2hWM9RBOG4lhmwq8Y7/czZdzmMV281HRcoVuONEAqp12aSSP3SpVB4L gTZp/Dwi/W6B7zGBgoemZZqpEk73qkTIlpsVz0UyCvbI3NHPVMHK6/GrGvzDPABIEddw LxQ/uJ8BuXEmwEeiqmwMBd4iCMOkVfYoLSjEUPxzlNDeGxqTxp5RQvxMnEHeRDaIpbn3 RNOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id i126-20020a636d84000000b005be27af74basi4425137pgc.33.2023.11.12.17.24.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Nov 2023 17:24:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 38FE28062BA8; Sun, 12 Nov 2023 17:24:32 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232336AbjKMBWL (ORCPT + 30 others); Sun, 12 Nov 2023 20:22:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229789AbjKMBWK (ORCPT ); Sun, 12 Nov 2023 20:22:10 -0500 Received: from mail.nfschina.com (unknown [42.101.60.195]) by lindbergh.monkeyblade.net (Postfix) with SMTP id ADA65107 for ; Sun, 12 Nov 2023 17:22:06 -0800 (PST) Received: from localhost.localdomain (unknown [219.141.250.2]) by mail.nfschina.com (Maildata Gateway V2.8.8) with ESMTPA id 5E9A86031E5B9; Mon, 13 Nov 2023 09:22:04 +0800 (CST) X-MD-Sfrom: zeming@nfschina.com X-MD-SrcIP: 219.141.250.2 From: Li zeming To: fbarrat@linux.ibm.com, ajd@linux.ibm.com, arnd@arndb.de, gregkh@linuxfoundation.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Li zeming Subject: [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions Date: Mon, 13 Nov 2023 09:22:02 +0800 Message-Id: <20231113012202.7887-1-zeming@nfschina.com> X-Mailer: git-send-email 2.18.2 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 12 Nov 2023 17:24:32 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782410037456592066 X-GMAIL-MSGID: 1782410037456592066 The irq pointer does not need to cast the type. Signed-off-by: Li zeming Acked-by: Frederic Barrat Acked-by: Andrew Donnellan --- drivers/misc/ocxl/afu_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/ocxl/afu_irq.c b/drivers/misc/ocxl/afu_irq.c index a06920b7e049a..36f7379b8e2de 100644 --- a/drivers/misc/ocxl/afu_irq.c +++ b/drivers/misc/ocxl/afu_irq.c @@ -57,7 +57,7 @@ EXPORT_SYMBOL_GPL(ocxl_irq_set_handler); static irqreturn_t afu_irq_handler(int virq, void *data) { - struct afu_irq *irq = (struct afu_irq *) data; + struct afu_irq *irq = data; trace_ocxl_afu_irq_receive(virq);