staging: lustre: Replace sscanf with kstrtoint
authorCristina Moraru <cristina.moraru09@gmail.com>
Mon, 26 Oct 2015 22:30:08 +0000 (00:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Oct 2015 05:37:09 +0000 (14:37 +0900)
commit70003e65208539658cdcb90c978e10b010a477a8
tree68c67437423ae57bbeb7282e18cbe71b92f27ee0
parent242b532500374129c45e4c0a69a20c1ab3b8bb78
staging: lustre: Replace sscanf with kstrtoint

Replace single variable sscanf with specialized function
kstrtoint at the suggestion of checkpatch.pl, to fix
'WARNING: Prefer kstrto<type> to single variable sscanf'

Signed-off-by: Cristina Moraru <cristina.moraru09@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/lov/lov_obd.c