Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4797252pxb; Tue, 28 Sep 2021 04:28:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoqyjCtYeYi3Swt0FWqCuS7RlVLFqzntWoMU6qjd6G75Zg3j/xwTrt5GrZ5zJzR1/7AmTi X-Received: by 2002:a63:e10:: with SMTP id d16mr3411031pgl.438.1632828482711; Tue, 28 Sep 2021 04:28:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632828482; cv=none; d=google.com; s=arc-20160816; b=Nuuj0KKKg8LRR+NCzy9AUx3nZXO96MnotFmI98KHY+gWv+g6NiK5/SmQjOjHMwpCRq orgCd2E9rNXAaRFU7U6LctmqLTUHt/mX3Ha9sEWqlbtKXKaZVi68H9uzhFYKF0XYnJvm qsOdPeQTnvZXW4b8MbSnTbGIZfjks50A0K295Vy2+P5mNgf3pVgtXz+zlEVUaefa8a2T mtixWj7rBUjEZtJ0YXlV+LxO6+mw3lJaMKh0PS/Zx1cvyKPNU8i/jR2ETsqzHMw3pmIE y9Yz8c1wDaSWsEIdZLEHCtD0olm92twUrapxkCEi38mn971bcl1KT15UbItuP8+5dpHr BDQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=ZFZU8m0iPmz2hZUwfn37rp5xubhsjMwxoBwUUz5eoNg=; b=vSqzcCUthnY+7SYJc4DHqIJx4U7BVVHYUBCnHbCZe6SJsCKatIBBaPpZQ8Y4gGBlRO v24HVBN7sigPo+T4KjU+VqaXYQSD/pFmcG656A0dtlRElmUs8NzX1EP8tH9zmGBKCNB5 2VyY89NveTofD2hWrgoqSwIUDsPk3483W5x90sNV98MvbEwR+W5edBwmSgUrSNNboSJS yhFrbiduC5gL9OFm2I425sUyhf9Suq1z4AH7Xu9VGTcnixPmhmkH8Oy/FZK8fP6z7Psq 8kbI9aN9aPo38Hv6V/ZFLUNJr3N3EPnisqRKgfykNO91TOnbHRYSJtDD2Y4E8sJfdF5Y SqEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q13si24991034pgq.238.2021.09.28.04.27.39; Tue, 28 Sep 2021 04:28:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240326AbhI1L22 (ORCPT + 99 others); Tue, 28 Sep 2021 07:28:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231202AbhI1L21 (ORCPT ); Tue, 28 Sep 2021 07:28:27 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74542C061575 for ; Tue, 28 Sep 2021 04:26:48 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVBFy-0004ZC-OB; Tue, 28 Sep 2021 13:26:42 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mVBFu-0002og-2U; Tue, 28 Sep 2021 13:26:38 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mVBFu-00048M-11; Tue, 28 Sep 2021 13:26:38 +0200 Date: Tue, 28 Sep 2021 13:26:37 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Giovanni Cabiddu Cc: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= , Fiona Trahe , Herbert Xu , Marco Chiappero , linux-pci@vger.kernel.org, qat-linux@intel.com, Bjorn Helgaas , linux-crypto@vger.kernel.org, kernel@pengutronix.de, Jack Xu , Wojciech Ziemba , Tomaszx Kowalik , Andy Shevchenko , "David S. Miller" Subject: Re: [PATCH v4 6/8] crypto: qat - simplify adf_enable_aer() Message-ID: <20210928112637.kolit6fusme7g2qf@pengutronix.de> References: <20210927204326.612555-1-uwe@kleine-koenig.org> <20210927204326.612555-7-uwe@kleine-koenig.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ivfl7y3ed6g54sur" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-crypto@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org --ivfl7y3ed6g54sur Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hey Giovanni, On Tue, Sep 28, 2021 at 12:11:38PM +0100, Giovanni Cabiddu wrote: > On Mon, Sep 27, 2021 at 10:43:24PM +0200, Uwe Kleine-K=C3=B6nig wrote: > > From: Uwe Kleine-K=C3=B6nig > >=20 > > A struct pci_driver is supposed to be constant and assigning .err_handl= er > > once per bound device isn't really sensible. Also as the function retur= ns > > zero unconditionally let it return no value instead and simplify the > > callers accordingly. > >=20 > > As a side effect this removes one user of struct pci_dev::driver. This > > member is planned to be removed. > >=20 > > Signed-off-by: Uwe Kleine-K=C3=B6nig > > --- >=20 > this patch does not build. >=20 > drivers/crypto/qat/qat_c3xxx/adf_drv.c:36:24: error: =E2=80=98adf_err_han= dler=E2=80=99 undeclared here (not in a function) > 36 | .err_handler =3D adf_err_handler, > | ^~~~~~~~~~~~~~~ > drivers/crypto/qat/qat_4xxx/adf_drv.c:303:24: error: =E2=80=98adf_err_han= dler=E2=80=99 undeclared here (not in a function) > 303 | .err_handler =3D adf_err_handler, > | ^~~~~~~~~~~~~~~ > drivers/crypto/qat/qat_c62x/adf_drv.c:36:24: error: =E2=80=98adf_err_hand= ler=E2=80=99 undeclared here (not in a function) > 36 | .err_handler =3D adf_err_handler, > | ^~~~~~~~~~~~~~~ > drivers/crypto/qat/qat_dh895xcc/adf_drv.c:36:24: error: =E2=80=98adf_err_= handler=E2=80=99 undeclared here (not in a function) > 36 | .err_handler =3D adf_err_handler, > | ^~~~~~~~~~~~~~~ > make[2]: *** [scripts/Makefile.build:277: drivers/crypto/qat/qat_c3xxx/ad= f_drv.o] Error 1 Hmm, I thought that was one of the things I actually tested after rebasing. Will recheck. =20 > Below is an updated version of your patch that fixes the issues. >=20 > After fixing the patch you can add: > Acked-by: Giovanni Cabiddu Thanks Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=C3=B6nig = | Industrial Linux Solutions | https://www.pengutronix.de/ | --ivfl7y3ed6g54sur Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmFS++sACgkQwfwUeK3K 7AleDwf9F69upmgTsIcwxJlGOkPLBOOUod9wpNHPeC/U99dCqa1cxHbte6dlKPGL +yVfoPEduQpgJciGLHKs4wnkRnEAQx2Tfdy9OWlHmcDH1Ts+46RVZ/FODSuBGfob LI4EEiWhkgm8Ky2kqvj9YEvcPiV8sm8xSQaMNsSZ9N1LFN27D5zEOxj5ykow434Z 9LU/BhsBdrCnASrEy3FroVOztTDg4Gaez+csKIpgz8FxkDvwcgPyDSJ74jaS62VM en/sPkM+i1xWdCq0ec4A3iJWYQiL7U//qcirE8gXoLctM1Hon9nRrvY4Wh4mQqWF LyffBo4d6kb3J+aqaVrAmOG5j8LZ9A== =C4HR -----END PGP SIGNATURE----- --ivfl7y3ed6g54sur--