mirror of
https://github.com/torvalds/linux.git
synced 2024-12-02 00:51:44 +00:00
stmmac: fix the parsing of the eee_timer parameter
This pacth fixes the parsing of the eee_timer driver parameter. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
462738f4f0
commit
506f669c58
@ -2254,7 +2254,7 @@ static int __init stmmac_cmdline_opt(char *str)
|
||||
} else if (!strncmp(opt, "pause:", 6)) {
|
||||
if (kstrtoint(opt + 6, 0, &pause))
|
||||
goto err;
|
||||
} else if (!strncmp(opt, "eee_timer:", 6)) {
|
||||
} else if (!strncmp(opt, "eee_timer:", 10)) {
|
||||
if (kstrtoint(opt + 10, 0, &eee_timer))
|
||||
goto err;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user