]> 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)
commit91b0d9093a893067e3be67f06245edda2f0a3c21
treee6ccbd1015a236a077fe29d5c91db482fbdc4b39
parent20fabe71a988396b6472cfde9be7837d70b4af94
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