diff options
author | Hui Tang <tanghui20@huawei.com> | 2022-11-17 11:40:32 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-11-19 06:38:59 +0300 |
commit | cbe867685386af1f0a2648f5279f6e4c74bfd17f (patch) | |
tree | c6e16e470b10c9ab49825443ea183d29dea31d07 /tools/perf/scripts/python/syscall-counts.py | |
parent | 594c61ffc77de0a197934aa0f1df9285c68801c6 (diff) | |
download | linux-cbe867685386af1f0a2648f5279f6e4c74bfd17f.tar.xz |
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 <tanghui20@huawei.com>
Link: https://lore.kernel.org/r/20221117084032.101144-1-tanghui20@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions