aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/fcoe/fcoe_sysfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/fcoe/fcoe_sysfs.c b/drivers/scsi/fcoe/fcoe_sysfs.c
index 2bc163198d33..5e751689a089 100644
--- a/drivers/scsi/fcoe/fcoe_sysfs.c
+++ b/drivers/scsi/fcoe/fcoe_sysfs.c
@@ -102,7 +102,7 @@ static int fcoe_str_to_dev_loss(const char *buf, unsigned long *val)
102 int ret; 102 int ret;
103 103
104 ret = kstrtoul(buf, 0, val); 104 ret = kstrtoul(buf, 0, val);
105 if (ret || *val < 0) 105 if (ret)
106 return -EINVAL; 106 return -EINVAL;
107 /* 107 /*
108 * Check for overflow; dev_loss_tmo is u32 108 * Check for overflow; dev_loss_tmo is u32