net/ipv4: replace simple_strtoul with kstrtoul
authorEldad Zack <eldad@fogrefinery.com>
Sat, 19 May 2012 14:13:18 +0000 (14:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 May 2012 08:06:17 +0000 (04:06 -0400)
commit413c27d8697751f72d2d6cf289140a8e060a8032
treeed13d36cfc8651b542eca7c1f92e4f9a09fe6e7d
parentb37f4d7b011955c84cdbb8c370927d93701fb174
net/ipv4: replace simple_strtoul with kstrtoul

Replace simple_strtoul with kstrtoul in three similar occurrences, all setup
handlers:
* route.c: set_rhash_entries
* tcp.c: set_thash_entries
* udp.c: set_uhash_entries

Also check if the conversion failed.

Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c
net/ipv4/tcp.c
net/ipv4/udp.c