Re: [PATCH] ipmi: Fix ioremap error handling in bt-bmc

2016-09-21 Thread Corey Minyard
On 09/21/2016 05:17 AM, Cédric Le Goater wrote: On 09/21/2016 12:05 PM, Joel Stanley wrote: devm_ioremap_resource returns ERR_PTR so we can't check for NULL. Thanks for spotting this. Acked-by: Cédric Le Goater Thanks, I've pull this into my tree. -corey C. Signed-off-by: Joel Stanley

Re: [PATCH] ipmi: Fix ioremap error handling in bt-bmc

2016-09-21 Thread Cédric Le Goater
On 09/21/2016 12:05 PM, Joel Stanley wrote: > devm_ioremap_resource returns ERR_PTR so we can't check for NULL. Thanks for spotting this. Acked-by: Cédric Le Goater C. > Signed-off-by: Joel Stanley > --- > drivers/char/ipmi/bt-bmc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-

[PATCH] ipmi: Fix ioremap error handling in bt-bmc

2016-09-21 Thread Joel Stanley
devm_ioremap_resource returns ERR_PTR so we can't check for NULL. Signed-off-by: Joel Stanley --- drivers/char/ipmi/bt-bmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/char/ipmi/bt-bmc.c b/drivers/char/ipmi/bt-bmc.c index 2e880bf0be26..de64bf1f2f4d 100644 ---