]> git.baikalelectronics.ru Git - kernel.git/commit
Staging: lustre: lproc_ptlrpc: Replace simple_strtol with simple_stroul
authorShivani Bhardwaj <shivanib134@gmail.com>
Thu, 15 Oct 2015 20:47:20 +0000 (02:17 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Oct 2015 05:38:17 +0000 (22:38 -0700)
commit3ae5bff785f7366df9faacf36ddcfb3e7fe0058a
tree711e1478ce4f1abfbc392489c39a0589e92a7201
parent6aed03be24b093ef9796f0e8269a9a9279a353ab
Staging: lustre: lproc_ptlrpc: Replace simple_strtol with simple_stroul

The variable inst is a __u32 type and hence the function used should be
simple_strtoul.
Semantic patch used:

@@
typedef __u32;
__u32 e;
@@
e =
- simple_strtol
+ simple_strtoul
  (...)

Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/lproc_ptlrpc.c