aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2020-08-11 15:50:19 +0000
committerJens Axboe <[email protected]>2020-08-12 14:29:40 +0000
commita36da65c46565d2527eec3efdb546251e38253fd (patch)
tree0af7dd70d9b6f2fce3b680da798baa5212a21dee /drivers/pci/controller/dwc
parentio_uring: hold 'ctx' reference around task_work queue + execute (diff)
downloadkernel-a36da65c46565d2527eec3efdb546251e38253fd.tar.gz
kernel-a36da65c46565d2527eec3efdb546251e38253fd.zip
io_uring: fail poll arm on queue proc failure
Check the ipt.error value, it must have been either cleared to zero or set to another error than the default -EINVAL if we don't go through the waitqueue proc addition. Just give up on poll at that point and return failure, this will fallback to async work. io_poll_add() doesn't suffer from this failure case, as it returns the error value directly. Cc: [email protected] # v5.7+ Reported-by: [email protected] Reviewed-by: Stefano Garzarella <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions