]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/sg.c: convert to kstrtoul_from_user()
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 5 Oct 2011 00:42:38 +0000 (11:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 12 Oct 2011 06:31:56 +0000 (17:31 +1100)
commit868f1d99188441d63883abe246b3ae3bfe69217d
tree1431f852ef65e8b38ef4bf527e686117f09bca86
parent20d1f90e839a6ab587df1bb0b331ddf6fcee5a4e
drivers/scsi/sg.c: convert to kstrtoul_from_user()

Instead of open coding this function use kstrtoul_from_user() directly.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Cc: Doug Gilbert <dgilbert@interlog.com>
Cc: Douglas Gilbert <dougg@torque.net>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/scsi/sg.c