commit | aa66d6f87f300b15ac2efdcde9e198bf5a9020ce | [log] [tgz] |
---|---|---|
author | Oleg Drokin <green@linuxhacker.ru> | Mon Jul 13 23:17:57 2015 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 13 20:52:55 2015 -0700 |
tree | 8db2d700ddd88bf56292c2576e6984defc89e06e | |
parent | 96d1865d344a966ab534fb16c55e8dd4601efb71 [diff] |
staging/lustre/libcfs: Fix kstrtouint return value check fix Apparently kstrtouint could return not just -EINVAL, but also -ERANGE, so make sure we just check the return value for something negative. Noticed by Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Oleg Drokin <green@linuxhacker.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>