summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorFedor Pchelkin <pchelkin@ispras.ru>2025-03-16 13:26:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-11 16:20:43 +0200
commit4e28f79e3dffa52d327b46d1a78dac16efb5810b (patch)
tree6f660b3b71644c0cf70bdacb3945b6c1c369e974 /tools/perf/scripts/python/export-to-postgresql.py
parent66e1a887273c6b89f09bc11a40d0a71d5a081a8e (diff)
usb: chipidea: ci_hdrc_imx: fix usbmisc handling
usbmisc is an optional device property so it is totally valid for the corresponding data->usbmisc_data to have a NULL value. Check that before dereferencing the pointer. Found by Linux Verification Center (linuxtesting.org) with Svace static analysis tool. Fixes: 74adad500346 ("usb: chipidea: ci_hdrc_imx: decrement device's refcount in .remove() and in the error path of .probe()") Cc: stable <stable@kernel.org> Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru> Acked-by: Peter Chen <peter.chen@kernel.org> Link: https://lore.kernel.org/r/20250316102658.490340-2-pchelkin@ispras.ru Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions