Re: [PATCH v1] iommu: Remove extra NULL check when call strtobool()

2018-05-15 Thread Joerg Roedel
On Mon, May 14, 2018 at 07:22:25PM +0300, Andy Shevchenko wrote: > strtobool() does check for NULL parameter already. No need to repeat. > > While here, switch to kstrtobool() and unshadow actual error code > (which is still -EINVAL). > > No functional change intended. > > Signed-off-by: Andy Sh

[PATCH v1] iommu: Remove extra NULL check when call strtobool()

2018-05-14 Thread Andy Shevchenko
strtobool() does check for NULL parameter already. No need to repeat. While here, switch to kstrtobool() and unshadow actual error code (which is still -EINVAL). No functional change intended. Signed-off-by: Andy Shevchenko --- drivers/iommu/iommu.c | 6 -- 1 file changed, 4 insertions(+),