]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/scsi/sg.c: convert to kstrtoul_from_user()
authorStephen Boyd <sboyd@codeaurora.org>
Thu, 8 Dec 2011 04:33:19 +0000 (15:33 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:18:51 +0000 (15:18 +1100)
commiteafcfbd7f7cb5579291c4d04db9c8915ac15f44a
tree80b60cba7605e900472f8a461b76c67812c5eea5
parent9d13fded0c4906a335fa5a48567d3dbcab66318e
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