aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLinyu Yuan <[email protected]>2021-06-29 09:51:18 +0800
committerGreg Kroah-Hartman <[email protected]>2021-07-21 09:47:32 +0200
commit40edb52298df4c1dbbdb30b19e3ce92cf612a918 (patch)
tree9ec26332f5b23181bcf315b7e01f2909cdfe3d09 /tools/perf/scripts/python/export-to-postgresql.py
parentb5fdf5c6e6bee35837e160c00ac89327bdad031b (diff)
usb: dwc3: avoid NULL access of usb_gadget_driver
we found crash in dwc3_disconnect_gadget(), it is because dwc->gadget_driver become NULL before async access. 7dc0c55e9f30 ('USB: UDC core: Add udc_async_callbacks gadget op') suggest a common way to avoid such kind of issue. this change implment the callback in dwc3 and change related functions which have callback to usb gadget driver. Acked-by: Alan Stern <[email protected]> Signed-off-by: Linyu Yuan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions