diff options
author | Peng Hao <flyingpenghao@gmail.com> | 2021-12-22 19:20:14 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-01-14 18:50:53 -0500 |
commit | 49814ce9e21a8b6d6158b2e502fe6bacef4d99b6 (patch) | |
tree | d1ac787912af65ca71984bc5138d082c2dd4277a /drivers/vdpa/mlx5 | |
parent | cf4a4493ff70874f8af26d75d4346c591c298e89 (diff) | |
download | linux-49814ce9e21a8b6d6158b2e502fe6bacef4d99b6.tar.bz2 |
virtio/virtio_pci_legacy_dev: ensure the correct return value
When pci_iomap return NULL, the return value is zero.
Signed-off-by: Peng Hao <flyingpeng@tencent.com>
Link: https://lore.kernel.org/r/20211222112014.87394-1-flyingpeng@tencent.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vdpa/mlx5')
0 files changed, 0 insertions, 0 deletions