]> 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, 6 Oct 2011 05:48:56 +0000 (16:48 +1100)
commit60d00f24ee1fdc60bc92f4dd36850b148bf615a5
treef281230a2b1ed779bcf720a5c99d63fd6574f7a3
parent8b3f0b22ada3cc0a12749f3473015476c9f3984c
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