aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-12-05 12:37:17 +0000
committerJens Axboe <[email protected]>2023-12-05 13:59:56 +0000
commite53f7b54b1fdecae897f25002ff0cff04faab228 (patch)
tree2e310edfc7a9755e4c4182cb9a07d99dc9c83ad9 /tools/perf/scripts/python/gecko.py
parentio_uring: fix mutex_unlock with unreferenced ctx (diff)
downloadkernel-e53f7b54b1fdecae897f25002ff0cff04faab228.tar.gz
kernel-e53f7b54b1fdecae897f25002ff0cff04faab228.zip
io_uring/kbuf: Fix an NULL vs IS_ERR() bug in io_alloc_pbuf_ring()
The io_mem_alloc() function returns error pointers, not NULL. Update the check accordingly. Fixes: b10b73c102a2 ("io_uring/kbuf: recycle freed mapped buffer ring entries") Signed-off-by: Dan Carpenter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions