aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2021-01-06 16:09:26 +0000
committerJens Axboe <[email protected]>2021-01-06 16:19:49 +0000
commit3e2224c5867fead6c0b94b84727cc676ac6353a3 (patch)
treed1da5acf761afe00c84758e810d284c7493e77bf /drivers/pci/controller/pci-host-common.c
parentio_uring: Delete useless variable ‘id’ in io_prep_async_work (diff)
downloadkernel-3e2224c5867fead6c0b94b84727cc676ac6353a3.tar.gz
kernel-3e2224c5867fead6c0b94b84727cc676ac6353a3.zip
io_uring: Fix return value from alloc_fixed_file_ref_node
alloc_fixed_file_ref_node() currently returns an ERR_PTR on failure. io_sqe_files_unregister() expects it to return NULL and since it can only return -ENOMEM, it makes more sense to change alloc_fixed_file_ref_node() to behave that way. Fixes: 1ffc54220c44 ("io_uring: fix io_sqe_files_unregister() hangs") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Matthew Wilcox (Oracle) <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions