Oleg Drokin aa66d6f87f 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>
2015-07-13 20:52:55 -07:00
..
2015-06-18 21:15:17 -07:00
2015-06-26 15:46:08 -07:00
2015-06-26 15:46:08 -07:00
2015-06-17 21:44:30 -07:00
2015-06-26 15:46:08 -07:00
2015-06-26 15:46:08 -07:00