diff options
author | Wei Yongjun <[email protected]> | 2021-02-23 10:48:03 +0000 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-02-24 16:11:28 -0800 |
commit | 17d7fd47aa9063c2ff36988e36757ac345733e28 (patch) | |
tree | b48e264536edda20c75b6c08cca9015e0f518527 /tools/perf/scripts/python | |
parent | 4e096a18867a5a989b510f6999d9c6b6622e8f7b (diff) |
net: stmmac: Fix missing spin_lock_init in visconti_eth_dwmac_probe()
The driver allocates the spinlock but not initialize it.
Use spin_lock_init() on it to initialize it correctly.
Fixes: b38dd98ff8d0 ("net: stmmac: Add Toshiba Visconti SoCs glue driver")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Wei Yongjun <[email protected]>
Acked-by: Nobuhiro Iwamatsu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions