diff options
author | Hui Tang <[email protected]> | 2022-11-17 16:40:32 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-11-18 19:38:59 -0800 |
commit | cbe867685386af1f0a2648f5279f6e4c74bfd17f (patch) | |
tree | c6e16e470b10c9ab49825443ea183d29dea31d07 /tools/perf/scripts/python/syscall-counts.py | |
parent | 594c61ffc77de0a197934aa0f1df9285c68801c6 (diff) |
net: mvpp2: fix possible invalid pointer dereference
It will cause invalid pointer dereference to priv->cm3_base behind,
if PTR_ERR(priv->cm3_base) in mvpp2_get_sram().
Fixes: e54ad1e01c00 ("net: mvpp2: add CM3 SRAM memory map")
Signed-off-by: Hui Tang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions