RE: [PATCHv3] crypto: inside-secure - Fix unused variable warning when CONFIG_PCI=n

2019-09-13 Thread Pascal Van Leeuwen
Van Leeuwen > Subject: Re: [PATCHv3] crypto: inside-secure - Fix unused variable warning > when > CONFIG_PCI=n > > On Fri, Sep 06, 2019 at 05:25:14PM +0200, Pascal van Leeuwen wrote: > > This patch fixes an unused variable warning from the compiler when the > > driv

Re: [PATCHv3] crypto: inside-secure - Fix unused variable warning when CONFIG_PCI=n

2019-09-13 Thread Herbert Xu
On Fri, Sep 06, 2019 at 05:25:14PM +0200, Pascal van Leeuwen wrote: > This patch fixes an unused variable warning from the compiler when the > driver is being compiled without PCI support in the kernel. > > changes since v1: > - capture the platform_register_driver error code as well > - actually

[PATCHv3] crypto: inside-secure - Fix unused variable warning when CONFIG_PCI=n

2019-09-06 Thread Pascal van Leeuwen
This patch fixes an unused variable warning from the compiler when the driver is being compiled without PCI support in the kernel. changes since v1: - capture the platform_register_driver error code as well - actually return the (last) error code - swapped registration to do PCI first as that's ju