diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-03-08 15:35:01 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-09 23:56:05 +0300 |
commit | eeb05595d22c19c8f814ff893dcf88ec277a2365 (patch) | |
tree | 16f6afe16f8fb9b35c364ac03ae7a9582d86c838 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4f44657d74873735e93a50eb25014721a66aac19 (diff) | |
download | linux-eeb05595d22c19c8f814ff893dcf88ec277a2365.tar.xz |
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 <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Link: https://lore.kernel.org/r/20210308123501.2573816-1-weiyongjun1@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions