diff options
author | 2025-07-20 12:25:35 +0300 | |
---|---|---|
committer | 2025-07-21 02:27:52 -0400 | |
commit | b83440736864ad96f863666fea49bd14ab17547d (patch) | |
tree | 80c2a1089f7e10983b4c2a5291a475caf5c3a739 /tools/perf/scripts/python | |
parent | RDMA/mlx5: Fix returned type from _mlx5r_umr_zap_mkey() (diff) | |
download | wireguard-linux-b83440736864ad96f863666fea49bd14ab17547d.tar.xz wireguard-linux-b83440736864ad96f863666fea49bd14ab17547d.zip |
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions