summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2013-01-09 10:17:47 +0100
committerFelipe Balbi <balbi@ti.com>2013-01-10 12:42:14 +0200
commitafd2e186bd7e58dc9d298ff5fb5a2fc30578867e (patch)
tree1218ca710f61fb570b110279211739e406fc67c0 /include/linux
parentcd76213eb57c505d3df6fa3134a6b3bb5394a90c (diff)
downloadcachepc-linux-afd2e186bd7e58dc9d298ff5fb5a2fc30578867e.tar.gz
cachepc-linux-afd2e186bd7e58dc9d298ff5fb5a2fc30578867e.zip
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 <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions