[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MN2PR20MB2973A03BFD630B654A46ACB8CAB80@MN2PR20MB2973.namprd20.prod.outlook.com>
Date: Wed, 4 Sep 2019 12:45:00 +0000
From: Pascal Van Leeuwen <pvanleeuwen@...imatrix.com>
To: Herbert Xu <herbert@...dor.apana.org.au>,
Ard Biesheuvel <ard.biesheuvel@...aro.org>
CC: YueHaibing <yuehaibing@...wei.com>,
"antoine.tenart@...tlin.com" <antoine.tenart@...tlin.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"pvanleeuwen@...idesecure.com" <pvanleeuwen@...idesecure.com>,
"linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH v2 -next] crypto: inside-secure - Fix build error without
CONFIG_PCI
So, with that patch you ONLY get a warning on that unused int rc, right?
I do understand that one, that should have been inside an #ifdef as well.
Everybody happy if I just fix that and leave the rest as is?
Regards,
Pascal van Leeuwen
Silicon IP Architect, Multi-Protocol Engines @ Verimatrix
www.insidesecure.com
> -----Original Message-----
> From: Herbert Xu <herbert@...dor.apana.org.au>
> Sent: Wednesday, September 4, 2019 2:32 PM
> To: Ard Biesheuvel <ard.biesheuvel@...aro.org>
> Cc: Pascal Van Leeuwen <pvanleeuwen@...imatrix.com>; YueHaibing <yuehaibing@...wei.com>;
> antoine.tenart@...tlin.com; davem@...emloft.net; pvanleeuwen@...idesecure.com; linux-
> crypto@...r.kernel.org; linux-kernel@...r.kernel.org
> Subject: Re: [PATCH v2 -next] crypto: inside-secure - Fix build error without CONFIG_PCI
>
> On Wed, Sep 04, 2019 at 05:27:19AM -0700, Ard Biesheuvel wrote:
> >
> > Did you try disabling CONFIG_PCI?
>
> Indeed. Even with my patch if you compile with CONFIG_PCI you still
> get a warning:
>
> CC [M] drivers/crypto/inside-secure/safexcel.o
> ../drivers/crypto/inside-secure/safexcel.c: In function \u2018safexcel_init\u2019:
> ../drivers/crypto/inside-secure/safexcel.c:1506:6: warning: unused variable \u2018rc\u2019
> [-Wunused-variable]
> int rc;
> ^~
>
> We should fix that in inside-secure.
>
> Thanks,
> --
> Email: Herbert Xu <herbert@...dor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists