Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp1981584rdb; Sun, 19 Nov 2023 20:07:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPq8+wlKRv9CbHqpKn4XYeYuhGTDC5e6znz0rxLJwQ7wBFAqzweWcFJJCd/9BbmcGssNWU X-Received: by 2002:a9d:7f90:0:b0:6ce:2985:a8dc with SMTP id t16-20020a9d7f90000000b006ce2985a8dcmr7324808otp.0.1700453231139; Sun, 19 Nov 2023 20:07:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700453231; cv=none; d=google.com; s=arc-20160816; b=UtYjwDr5Vzg/qcp6upoXKnHQvLo3K8DbkWsbj68rKF7K0DDgmNhklz7T6eFWeU8AsU qCkBBvt0riOgsVj5Aet/cW27jL1t8wibk0N+M8HSRZDWNE6tQMr0l4J85dl5qJsf4mCb ucPYqRI3gVZMIPpAFdhA78HuPADS46nDvbGD2M0lPr0y0mkykwkWzDShVip2rNx21FJs AGSzUHw7ZaqOlMcIM0iMEq4JynxOEMC/qG1z6kfHnm1tqFJiUKjxsCoZN+WINEOHJh7s qhZGHNKUn69l4Mr7za37wkwcXkdbrE7trirP34yEqhMvLkpZmHC0yzPz73bsJlLCul+b +9HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:autocrypt:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=tinRh3HaCnquIsTziutn4W7D/chJoVlXuTROb+mBOwU=; fh=4Iy2MqY3wXPHQFG67PlZqX8RqHl5i41bytubKshQjys=; b=qPoYUqeSJE8FZ/SZjncDSWNVKjwWZoU4XM6BKwZwM7GC9qUn7h6fDkeadExEodzlP4 8elOLs3XapJVrIF3H5N+WS6yrqC8wQ64fYKNECTYyTXovVqhI8BMg1JS9BiBZ4Y6+00+ q+Tsnu/p2HjX2MwNwxRJszAIZOV4GZaFObNsFZGN+thf2LkQOEeU4C9ESugtZg4rK5Xe kQCVmC9sbFFhUmYhR3eq6FAOgGWJF4mSs/izJO1u4qmQnmeOf/b/2wvJDZK0OAgXybXD s4DwfUkP/M0xoNts0TQBZQdFCIPWlEFt7bk2x63zFUoZwotRYIp/SfJtaiKfgwqHmgtO jtkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="b8eBVQ/2"; 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; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id b15-20020a65668f000000b005be2531664esi7167696pgw.261.2023.11.19.20.07.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 20:07:11 -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; dkim=pass header.i=@ibm.com header.s=pp1 header.b="b8eBVQ/2"; 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; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id BB6E2806503D; Sun, 19 Nov 2023 20:07:07 -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 S230033AbjKTEG6 (ORCPT + 99 others); Sun, 19 Nov 2023 23:06:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229470AbjKTEGy (ORCPT ); Sun, 19 Nov 2023 23:06:54 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 510AD137 for ; Sun, 19 Nov 2023 20:06:50 -0800 (PST) Received: from pps.filterd (m0360083.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3AK3Aglj030403; Mon, 20 Nov 2023 04:06:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : content-transfer-encoding : mime-version; s=pp1; bh=tinRh3HaCnquIsTziutn4W7D/chJoVlXuTROb+mBOwU=; b=b8eBVQ/2Az3XNa59wyI52slLMAZERXQP3Qi3ma1hlQbuWMMPmj9b9z2uUvRBOSrkE4Dj YLoGuueHIkBXLhSUsc7H/vwyH+5vrQvIXA3HPymEFJEal2WiLB1HenkgwVgZ2o3mwE77 7qBL4d5m+dAAKLHVhwEuFElV+drqaigTEEAQ0Y32X4nGfa/b3dVrOCZ2ZrzYhc1N5FO2 XsQdU9WzosyttaUNfdx0/B2XS7sYp8n5MYJLHWfC5+0tTBmZKXJ3L9VbtArsJRWZaMTx TE1e4dFoRyfgsSAx57Cd/9gDKRDgbKNPrP/UXTFJ4OTjXDk2+7VvcwJRbsI8IfD/a4rG Iw== Received: from ppma23.wdc07v.mail.ibm.com (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3uf7khd2p3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Nov 2023 04:06:40 +0000 Received: from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1]) by ppma23.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3AK1eWxT026556; Mon, 20 Nov 2023 04:06:38 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3uf93kem64-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 Nov 2023 04:06:38 +0000 Received: from smtpav01.fra02v.mail.ibm.com (smtpav01.fra02v.mail.ibm.com [10.20.54.100]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3AK46aTD11600564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 Nov 2023 04:06:36 GMT Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B7C8720043; Mon, 20 Nov 2023 04:06:36 +0000 (GMT) Received: from smtpav01.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4695D20040; Mon, 20 Nov 2023 04:06:36 +0000 (GMT) Received: from ozlabs.au.ibm.com (unknown [9.192.253.14]) by smtpav01.fra02v.mail.ibm.com (Postfix) with ESMTP; Mon, 20 Nov 2023 04:06:36 +0000 (GMT) Received: from jarvis.ozlabs.ibm.com (haven.au.ibm.com [9.192.254.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.au.ibm.com (Postfix) with ESMTPSA id C569060100; Mon, 20 Nov 2023 15:06:34 +1100 (AEDT) Message-ID: <4b5ac432253df7a53cf8fb6ffa74900f9c626d95.camel@linux.ibm.com> Subject: Re: [PATCH] misc: ocxl: afu_irq: Remove unnecessary (void*) conversions From: Andrew Donnellan To: Li zeming , fbarrat@linux.ibm.com, arnd@arndb.de, gregkh@linuxfoundation.org Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Mon, 20 Nov 2023 15:06:34 +1100 In-Reply-To: <20231113012202.7887-1-zeming@nfschina.com> References: <20231113012202.7887-1-zeming@nfschina.com> Autocrypt: addr=ajd@linux.ibm.com; prefer-encrypt=mutual; keydata=mDMEZPaWfhYJKwYBBAHaRw8BAQdAAuMUoxVRwqphnsFua1W+WBz6I2cIn0+Ox4YypJSdBJ+0MEFuZHJldyBEb25uZWxsYW4gKElCTSBzdHVmZikgPGFqZEBsaW51eC5pYm0uY29tPoiTBBMWCgA7FiEE01kE3s9shZVYLX1Aj1Qx8QRYRqAFAmT2ln4CGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQj1Qx8QRYRqAdswD8DhIh4trRQYiPe+7LaM7q+0+Thz+CwUJCW3UFOf0SEO0BAPNdsi7aVV+4Oah6nYzqzH5Zbs4Tz5RY+Vsf+DD/EzUKuDgEZPaWfhIKKwYBBAGXVQEFAQEHQLN9moJRqN8Zop/kcyIjga+2qzLoVaNAL6+4diGnlr1xAwEIB4h4BBgWCgAgFiEE01kE3s9shZVYLX1Aj1Qx8QRYRqAFAmT2ln4CGwwACgkQj1Qx8QRYRqCYkwD/W+gIP9kITfU4wnLtueFUThxA0T/LF49M7k31Qb8rPCwBALeEYAlX648lzjSA07pJB68Jt39FuUno444dSVmhYtoH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.1 (3.50.1-1.fc39) MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: XUi2KaSCX4iHv9BD36zM8pytJ8sMl6HL X-Proofpoint-GUID: XUi2KaSCX4iHv9BD36zM8pytJ8sMl6HL X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-20_01,2023-11-17_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 spamscore=0 lowpriorityscore=0 malwarescore=0 phishscore=0 adultscore=0 mlxscore=0 priorityscore=1501 clxscore=1015 bulkscore=0 impostorscore=0 mlxlogscore=933 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311200027 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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, 19 Nov 2023 20:07:07 -0800 (PST) On Mon, 2023-11-13 at 09:22 +0800, Li zeming wrote: > The irq pointer does not need to cast the type. >=20 > Signed-off-by: Li zeming Acked-by: Andrew Donnellan > --- > =C2=A0drivers/misc/ocxl/afu_irq.c | 2 +- > =C2=A01 file changed, 1 insertion(+), 1 deletion(-) >=20 > 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); > =C2=A0 > =C2=A0static irqreturn_t afu_irq_handler(int virq, void *data) > =C2=A0{ > - struct afu_irq *irq =3D (struct afu_irq *) data; > + struct afu_irq *irq =3D data; > =C2=A0 > =C2=A0 trace_ocxl_afu_irq_receive(virq); > =C2=A0 --=20 Andrew Donnellan OzLabs, ADL Canberra ajd@linux.ibm.com IBM Australia Limited