diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2025-07-20 12:25:35 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2025-07-21 02:27:52 -0400 |
commit | b83440736864ad96f863666fea49bd14ab17547d (patch) | |
tree | 80c2a1089f7e10983b4c2a5291a475caf5c3a739 /samples/rust/rust_driver_pci.rs | |
parent | d59ebb4549ff9bdba7abf6a5246a749e7f4a36ed (diff) |
RDMA/mlx5: Fix incorrect MKEY masking
mkey_mask is __be64 type, while MLX5_MKEY_MASK_PAGE_SIZE is declared as
unsigned long long. This causes to the static checkers errors:
drivers/infiniband/hw/mlx5/umr.c:663:49: warning: invalid assignment: &=
drivers/infiniband/hw/mlx5/umr.c:663:49: left side has type restricted __be64
drivers/infiniband/hw/mlx5/umr.c:663:49: right side has type int
Fixes: e73242aa14d2 ("RDMA/mlx5: Optimize DMABUF mkey page size")
Link: https://patch.msgid.link/e354d70b98dfa5ecf4c236a36cd36b64add9d9de.1753003467.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'samples/rust/rust_driver_pci.rs')
0 files changed, 0 insertions, 0 deletions