Re: [PATCH net] qlogic: check kstrtoul() for errors

2018-07-13 Thread David Miller
From: Dan Carpenter Date: Thu, 12 Jul 2018 15:23:45 +0300 > We accidentally left out the error handling for kstrtoul(). > > Fixes: a520030e326a ("qlcnic: Implement flash sysfs callback for 83xx > adapter") > Signed-off-by: Dan Carpenter Applied.

[PATCH net] qlogic: check kstrtoul() for errors

2018-07-12 Thread Dan Carpenter
We accidentally left out the error handling for kstrtoul(). Fixes: a520030e326a ("qlcnic: Implement flash sysfs callback for 83xx adapter") Signed-off-by: Dan Carpenter diff --git a/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c b/drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c index