]> git.baikalelectronics.ru Git - kernel.git/commit
net/mac80211/debugfs.c: use kstrtoul, etc
authorJulia Lawall <julia@diku.dk>
Sun, 6 Nov 2011 13:26:48 +0000 (14:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 9 Nov 2011 21:14:10 +0000 (16:14 -0500)
commita30b32b28fa9715a808c0182408bf1d9507d2046
tree8ec8a6f6a2f089a1bf0e840b3c6609b3961cbda8
parent958099fcdf5a866472d91677b1e4f8fc4f9ff15c
net/mac80211/debugfs.c: use kstrtoul, etc

Use kstrtoul, etc instead of the now deprecated strict_strtoul, etc.

A semantic patch rule for the kstrtoul case is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression a,b;
{int,long} *c;
@@

-strict_strtoul
+kstrtoul
 (a,b,c)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/debugfs.c