Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 316820
b: refs/heads/master
c: 902a45a
h: refs/heads/master
v: v3
  • Loading branch information
Robert Love authored and James Bottomley committed Jul 20, 2012
1 parent d50343d commit 7f6250a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b29a4f309fb58165ebfcca0fba504ae90ec4cfa6
refs/heads/master: 902a45af5c9fad283a530c3bc71225fa6a8e616a
2 changes: 1 addition & 1 deletion trunk/drivers/scsi/fcoe/fcoe_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static int fcoe_str_to_dev_loss(const char *buf, unsigned long *val)
int ret;

ret = kstrtoul(buf, 0, val);
if (ret || *val < 0)
if (ret)
return -EINVAL;
/*
* Check for overflow; dev_loss_tmo is u32
Expand Down

0 comments on commit 7f6250a

Please sign in to comment.