diff options
| author | Heiko Schocher <[email protected]> | 2014-02-13 14:47:27 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-02-13 18:50:04 -0500 |
| commit | 0d961b3b52f566f823070ce2366511a7f64b928c (patch) | |
| tree | 6b3ca4159181b098605a199119990e8f8fdcd7f6 /tools/perf/scripts/python | |
| parent | b0c057ca7e835b36c6050c7627634b664796c1d6 (diff) | |
drivers: net: cpsw: fix buggy loop condition
Commit 0cd8f9cc0654c06adde353c6532114c5f53a18e8 ("drivers: net: cpsw:
enable promiscuous mode support")
Enable promiscuous mode support for CPSW.
Introduced a crash on an am335x based board (similiar to am335x-evm).
Reason is buggy end condition in for loop in cpsw_set_promiscious()
for (i = 0; i <= priv->data.slaves; i++)
should be
for (i = 0; i < priv->data.slaves; i++)
Fix this ...
Signed-off-by: Heiko Schocher <[email protected]>
Cc: Mugunthan V N <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Sebastian Siewior <[email protected]>
Cc: Daniel Mack <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Markus Pargmann <[email protected]>
Cc: [email protected]
Cc: [email protected]
Acked-by: Mugunthan V N <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions