diff options
| author | Eli Cohen <[email protected]> | 2021-04-08 09:10:46 +0000 |
|---|---|---|
| committer | Michael S. Tsirkin <[email protected]> | 2021-04-09 16:08:27 +0000 |
| commit | 4b454a82418dd76d8c0590bb3f7a99a63ea57dc5 (patch) | |
| tree | 03de024620006bc0e0510b1de235028a525a8353 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | vdpa/mlx5: Retrieve BAR address suitable any function (diff) | |
| download | kernel-4b454a82418dd76d8c0590bb3f7a99a63ea57dc5.tar.gz kernel-4b454a82418dd76d8c0590bb3f7a99a63ea57dc5.zip | |
vdpa/mlx5: Fix wrong use of bit numbers
VIRTIO_F_VERSION_1 is a bit number. Use BIT_ULL() with mask
conditionals.
Also, in mlx5_vdpa_is_little_endian() use BIT_ULL for consistency with
the rest of the code.
Fixes: 1a86b377aa21 ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices")
Signed-off-by: Eli Cohen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
