diff options
| author | Leon Romanovsky <[email protected]> | 2025-07-20 09:25:35 +0000 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2025-07-21 06:27:52 +0000 |
| commit | b83440736864ad96f863666fea49bd14ab17547d (patch) | |
| tree | 80c2a1089f7e10983b4c2a5291a475caf5c3a739 /drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | |
| parent | RDMA/mlx5: Fix returned type from _mlx5r_umr_zap_mkey() (diff) | |
| download | kernel-b83440736864ad96f863666fea49bd14ab17547d.tar.gz kernel-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 <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c')
0 files changed, 0 insertions, 0 deletions
