aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/arm-cs-trace-disasm.py
diff options
context:
space:
mode:
authorJiawen Wu <[email protected]>2023-11-17 18:11:08 +0800
committerDavid S. Miller <[email protected]>2023-11-19 19:43:54 +0000
commit8ba2c459668cfe2aaacc5ebcd35b4b9ef8643013 (patch)
treec272114d8a11fe9ac9495c91ebd745e47e3ad16a /tools/perf/scripts/python/arm-cs-trace-disasm.py
parent76df934c6d5f5c93ba7a0112b1818620ddc10b19 (diff)
net: wangxun: fix kernel panic due to null pointer
When the device uses a custom subsystem vendor ID, the function wx_sw_init() returns before the memory of 'wx->mac_table' is allocated. The null pointer will causes the kernel panic. Fixes: 79625f45ca73 ("net: wangxun: Move MAC address handling to libwx") Signed-off-by: Jiawen Wu <[email protected]> Reviewed-by: Simon Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions