summaryrefslogtreecommitdiffstats
path: root/drivers/vdpa/mlx5
diff options
context:
space:
mode:
authorPeng Hao <flyingpenghao@gmail.com>2021-12-22 19:20:14 +0800
committerMichael S. Tsirkin <mst@redhat.com>2022-01-14 18:50:53 -0500
commit49814ce9e21a8b6d6158b2e502fe6bacef4d99b6 (patch)
treed1ac787912af65ca71984bc5138d082c2dd4277a /drivers/vdpa/mlx5
parentcf4a4493ff70874f8af26d75d4346c591c298e89 (diff)
downloadlinux-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