aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2018-09-01 16:12:10 +0800
committerGreg Kroah-Hartman <[email protected]>2018-09-05 14:48:40 +0200
commit6e22e3af7bb3a7b9dc53cb4687659f6e63fca427 (patch)
treefc60e292ccb57a85d6dc205b2f55c80abbfe7d38 /tools/perf/scripts/python/export-to-sqlite.py
parentbc8acc214d3f1cafebcbcd101a695bbac716595d (diff)
usb: cdc-wdm: Fix a sleep-in-atomic-context bug in service_outstanding_interrupt()
wdm_in_callback() is a completion handler function for the USB driver. So it should not sleep. But it calls service_outstanding_interrupt(), which calls usb_submit_urb() with GFP_KERNEL. To fix this bug, GFP_KERNEL is replaced with GFP_ATOMIC. This bug is found by my static analysis tool DSAC. Signed-off-by: Jia-Ju Bai <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions