summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-bd2802.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-03-25 14:00:42 +0100
committerJens Axboe <axboe@kernel.dk>2022-03-25 14:43:53 +0100
commitab0ac0959b028779ea43002db81daa12203cb57d (patch)
tree4eaac3d966820818d3af4f9b7503d36ecf9fa06a /drivers/leds/leds-bd2802.c
parentio_uring: improve req fields comments (diff)
downloadlinux-ab0ac0959b028779ea43002db81daa12203cb57d.tar.xz
linux-ab0ac0959b028779ea43002db81daa12203cb57d.zip
io_uring: fix invalid flags for io_put_kbuf()
io_req_complete_failed() doesn't require callers to hold ->uring_lock, use IO_URING_F_UNLOCKED version of io_put_kbuf(). The only affected place is the fail path of io_apoll_task_func(). Also add a lockdep annotation to catch such bugs in the future. Fixes: 3b2b78a8eb7cc ("io_uring: extend provided buf return to fails") Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/ccf602dbf8df3b6a8552a262d8ee0a13a086fbc7.1648212967.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/leds/leds-bd2802.c')
0 files changed, 0 insertions, 0 deletions