aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorEvgeny Novikov <[email protected]>2021-06-01 19:38:01 +0300
committerMauro Carvalho Chehab <[email protected]>2021-09-30 10:08:03 +0200
commitef11357046512918ab876aa0f837b0a6de65a3c6 (patch)
tree83f4d1a0850de9bf1125ec79f68ee2c0a4baa2b1 /tools/perf/scripts/python/bin
parent94f9c3567eba2a2adcaafa936fc86854546580a4 (diff)
HID: amd_sfh: Fix potential NULL pointer dereference
devm_add_action_or_reset() can suddenly invoke amd_mp2_pci_remove() at registration that will cause NULL pointer dereference since corresponding data is not initialized yet. The patch moves initialization of data before devm_add_action_or_reset(). Found by Linux Driver Verification project (linuxtesting.org). [[email protected]: rebase] Signed-off-by: Evgeny Novikov <[email protected]> Acked-by: Basavaraj Natikar <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions