summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2020-04-07 16:47:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-04-16 14:52:14 +0200
commitfdd10499de0dbcd2cdfe8108ed162bb00fe6f276 (patch)
tree0776ad4bac82d93fdf3aa428f13b289d84cea04b /tools/perf/scripts/python/export-to-postgresql.py
parent068fbff4f860c620c8e36641c1da9a165abad24e (diff)
usb: raw-gadget: fix raw_event_queue_fetch locking
If queue->size check in raw_event_queue_fetch() fails (which normally shouldn't happen, that check is a fail-safe), the function returns without reenabling interrupts. This patch fixes that issue, along with propagating the cause of failure to the function caller. Fixes: f2c2e717642c ("usb: gadget: add raw-gadget interface") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrey Konovalov <andreyknvl@google.com> Link: https://lore.kernel.org/r/9f7ce7a1472cfb9447f6c5a494186fa1f2670f6f.1586270396.git.andreyknvl@google.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