diff options
author | Yanteng Si <[email protected]> | 2023-12-11 18:33:11 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-12-13 10:57:00 +0000 |
commit | e87d3a1370ce9f04770d789bcf7cce44865d2e8d (patch) | |
tree | 3b48061f2f4e4556ea8b6eb96ecb77ae963d92be /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f3f32a356c0d2379d4431364e74f101f8f075ce3 (diff) |
stmmac: dwmac-loongson: Make sure MDIO is initialized before use
Generic code will use mdio. If it is not initialized before use,
the kernel will Oops.
Fixes: 30bba69d7db4 ("stmmac: pci: Add dwmac support for Loongson")
Signed-off-by: Yanteng Si <[email protected]>
Signed-off-by: Feiyang Chen <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions