Files
android_kernel_xiaomi_sm8450/drivers/usb/gadget
Andy Shevchenko 8156d158ef 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>
2010-08-10 14:35:42 -07:00
..
2010-05-20 13:21:49 -07:00
2009-01-07 09:59:58 -08:00
2010-08-10 14:35:39 -07:00
2010-07-26 14:18:11 +02:00
2010-08-10 14:35:37 -07:00
2010-08-10 14:35:39 -07:00
2008-07-21 15:16:10 -07:00
2009-09-23 06:46:35 -07:00
2008-10-17 14:40:53 -07:00