aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2010-07-22 11:58:47 +0300
committerGreg Kroah-Hartman <gregkh@suse.de>2010-08-10 14:35:42 -0700
commit8156d158efa6370a8183f47327f122edbb4f2cb6 (patch)
tree45bde43e18dccb98ab8180c763515c08b825560a /Documentation/ABI
parent787f4e5adaabba01becd646818dbace2d7e6b386 (diff)
downloadmrst-s0i3-test-8156d158efa6370a8183f47327f122edbb4f2cb6.tar.gz
mrst-s0i3-test-8156d158efa6370a8183f47327f122edbb4f2cb6.tar.xz
mrst-s0i3-test-8156d158efa6370a8183f47327f122edbb4f2cb6.zip
usb: gadget: storage: strict coversion of 'ro' parameter
Bring a strict way to get the 'ro' parameter from the user. The patch followed by this one adds another boolean parameter. To be consistent MichaƂ Nazarewicz proposed to use simple_strtol() in both cases (correspondend discussion in LKML [1]). Due to simple_strtol() doesn't return error in a good way and we have a boolean parameter the strict_strtoul() is used. [1] http://lkml.org/lkml/2010/7/14/169 Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko@nokia.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Cc: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions