From afd2e186bd7e58dc9d298ff5fb5a2fc30578867e Mon Sep 17 00:00:00 2001 From: Michal Nazarewicz Date: Wed, 9 Jan 2013 10:17:47 +0100 Subject: [PATCH] usb: gadget: FunctionFS: Use kstrtoul() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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-format-patch failed