diff options
author | Oleksij Rempel <[email protected]> | 2021-04-29 13:08:32 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-29 15:54:35 -0700 |
commit | ba46b576a7954fa54ff4c1ef976624794b6668f6 (patch) | |
tree | 4e16aa73127f594967c7dee39a5782bb139afc3f /tools/perf/scripts/python/net_dropmonitor.py | |
parent | d27f0201b93cb1016c232c46e0b8e1bf4c02a7ea (diff) |
net: dsa: ksz: ksz8795_spi_probe: fix possible NULL pointer dereference
Fix possible NULL pointer dereference in case devm_kzalloc() failed to
allocate memory
Fixes: cc13e52c3a89 ("net: dsa: microchip: Add Microchip KSZ8863 SPI based driver support")
Reported-by: Colin Ian King <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions