]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: do not use strict_strtoul but kstrtoint
authorGiuseppe CAVALLARO <peppe.cavallaro@st.com>
Wed, 27 Jun 2012 21:14:35 +0000 (21:14 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Jul 2012 10:34:49 +0000 (03:34 -0700)
commitc5c8874d22d62cf3da5e346a08a70bd50cdf35c3
treee6ccbd1015a236a077fe29d5c91db482fbdc4b39
parentc37b7f5b028e730fe3439cc74e9a613183b75004
stmmac: do not use strict_strtoul but kstrtoint

This patch replaces the obsolete strict_strtoul with kstrtoint.

v2: also removed casting on kstrtoul.
v3: use kstrtoint instead of kstrtoul due to all vars are integer.
    thanks to E. Dumazet.

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c