[SCSI] sg: convert to kstrtoul_from_user()
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 10 Jan 2012 23:42:34 +0000 (15:42 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 16 Jan 2012 08:17:29 +0000 (12:17 +0400)
commit7e95fffe080d4dbe826dfe864eb084916cdc6468
treeafc65af7003d1d4fdb977e5a2cccda7b5c4ac32e
parent466c08c71a7dc19528e9b336c5bfa5ec41730c7c
[SCSI] sg: convert to kstrtoul_from_user()

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

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/sg.c
This page took 0.040589 seconds and 5 git commands to generate.