diff options
author | Xie Yongji <xieyongji@bytedance.com> | 2022-01-21 16:39:39 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-03-04 11:56:34 -0500 |
commit | b9d102dafec6af1c07b610faf0a6d4e8aee14ae0 (patch) | |
tree | 18480671daf70bc912b39ae7747e07c54f1276b3 /drivers/vhost | |
parent | ed0f849fc3a63ed2ddf5e72cdb1de3bdbbb0f8eb (diff) | |
download | linux-b9d102dafec6af1c07b610faf0a6d4e8aee14ae0.tar.bz2 |
vduse: Fix returning wrong type in vduse_domain_alloc_iova()
This fixes the following smatch warnings:
drivers/vdpa/vdpa_user/iova_domain.c:305 vduse_domain_alloc_iova() warn: should 'iova_pfn << shift' be a 64 bit type?
Fixes: 8c773d53fb7b ("vduse: Implement an MMU-based software IOTLB")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Xie Yongji <xieyongji@bytedance.com>
Link: https://lore.kernel.org/r/20220121083940.102-1-xieyongji@bytedance.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions