sunrpc: kstrtoul() can also return -ERANGE
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Jul 2018 12:30:08 +0000 (15:30 +0300)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Tue, 31 Jul 2018 16:53:40 +0000 (12:53 -0400)
commit1a54c0cfcbb2d93b6c057b633984f0fd8b882555
tree1a2310c00fe0f26b0d5f5cf09bc7af0b3e338d09
parent379ebf0796071210c61ea17ba3f08cbc5e260894
sunrpc: kstrtoul() can also return -ERANGE

Smatch complains that "num" can be uninitialized when kstrtoul() returns
-ERANGE.  It's true enough, but basically harmless in this case.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/auth.c