]> 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>
Thu, 13 Oct 2011 06:49:14 +0000 (17:49 +1100)
commitb8ea980adb2e86595fd99721c037ca2fbe851855
tree054ded85bfe92d98730e134dc3b6963b09cde55f
parent4282f7ef3a7b57faa37434d51047fd7d46668d47
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