Staging: lustre: use kstrtoul() instead of sscanf()
authoraybuke ozdemir <aybuke.147@gmail.com>
Sat, 21 Feb 2015 20:47:43 +0000 (22:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Feb 2015 20:23:57 +0000 (12:23 -0800)
commit692f2b6cc298b86b9386bb26ea457aae957cc6ff
treea6a18a4a5a603fe864b1606dc40217deaad05aa6
parent99d08456b3937cb32245e4f4d35a5469cf12d280
Staging: lustre: use kstrtoul() instead of sscanf()

This patch makes checkpatch.pl by fixing the following warning:
WARNING: Prefer kstrto<type> to single variable sscanf.
I used to kstrtoul can convert unsigned long instead of sscanf

Signed-off-by: aybuke ozdemir <aybuke.147@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/llite/llite_lib.c