aboutsummaryrefslogtreecommitdiff
path: root/drivers/nvme
diff options
context:
space:
mode:
authorEli Cohen <elic@nvidia.com>2021-04-08 12:10:46 +0300
committerMichael S. Tsirkin <mst@redhat.com>2021-04-09 12:08:27 -0400
commit4b454a82418dd76d8c0590bb3f7a99a63ea57dc5 (patch)
tree03de024620006bc0e0510b1de235028a525a8353 /drivers/nvme
parentb2ae0a2db8a2d42a643590c4935faf61fedf553b (diff)
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 <elic@nvidia.com> Link: https://lore.kernel.org/r/20210408091047.4269-5-elic@nvidia.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/nvme')
0 files changed, 0 insertions, 0 deletions