aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2022-08-25 18:08:38 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-08-25 17:48:30 +0200
commit4a593a62a9e3a25ab4bc37f612e4edec144f7f43 (patch)
treeaa50e3ff5c8bc2983e419df22b09d1432c9902e9 /tools/perf/scripts/python/export-to-postgresql.py
parent5f73aa2cf8bef4a39baa1591c3144ede4788826e (diff)
xhci: Fix null pointer dereference in remove if xHC has only one roothub
The remove path in xhci platform driver tries to remove and put both main and shared hcds even if only a main hcd exists (one roothub) This causes a null pointer dereference in reboot for those controllers. Check that the shared_hcd exists before trying to remove it. Fixes: e0fe986972f5 ("usb: host: xhci-plat: prepare operation w/o shared hcd") Reported-by: Alexey Sheplyakov <asheplyakov@basealt.ru> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Link: https://lore.kernel.org/r/20220825150840.132216-2-mathias.nyman@linux.intel.com 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