]> 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>
Tue, 13 Dec 2011 06:43:06 +0000 (17:43 +1100)
commita10301d73d4fffb28fe38b89b566d8a675786f0f
treec35623ae6baad41c164c481f253f65a436fd6d3e
parentd25f422e5e3d6d4b36f2c13b0c6520f1782691f7
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