aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorWei Yongjun <[email protected]>2021-03-08 12:35:01 +0000
committerJens Axboe <[email protected]>2021-03-09 13:56:05 -0700
commiteeb05595d22c19c8f814ff893dcf88ec277a2365 (patch)
tree16f6afe16f8fb9b35c364ac03ae7a9582d86c838 /lib/mpi/mpiutil.c
parent4f44657d74873735e93a50eb25014721a66aac19 (diff)
umem: fix error return code in mm_pci_probe()
Fix to return negative error code -ENOMEM from the blk_alloc_queue() and dma_alloc_coherent() error handling cases instead of 0, as done elsewhere in this function. Reported-by: Hulk Robot <[email protected]> Signed-off-by: Wei Yongjun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions