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

2019-09-20 Thread Herbert Xu
On Fri, Sep 13, 2019 at 11:04:40AM +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

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

2019-09-13 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