From: Michal Nazarewicz Date: Wed, 9 Jan 2013 09:17:47 +0000 (+0100) Subject: usb: gadget: FunctionFS: Use kstrtoul() X-Git-Tag: v3.9-rc1~126^2~43^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afd2e186bd7e58dc9d298ff5fb5a2fc30578867e;p=pandora-kernel.git usb: gadget: FunctionFS: Use kstrtoul() kstrtoul() checks for overflow which simple_strtoul() does not pluss it has “*end == 0” check in it as well. As a side effect, a new line character is now accepted, but this should not be an issue. Signed-off-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed