diff options
| author | Junxian Huang <[email protected]> | 2024-07-10 21:36:58 +0800 |
|---|---|---|
| committer | Leon Romanovsky <[email protected]> | 2024-07-11 13:25:11 +0300 |
| commit | 6afa2c0bfb8ef69f65715ae059e5bd5f9bbaf03b (patch) | |
| tree | c8551e07833f3f54a6af38c1945c9c07092faf10 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | b851268018f0d63cb2069b5589bf4dbee1c74287 (diff) | |
RDMA/hns: Check atomic wr length
8 bytes is the only supported length of atomic. Add this check in
set_rc_wqe(). Besides, stop processing WQEs and return from
set_rc_wqe() if there is any error.
Fixes: 384f88185112 ("RDMA/hns: Add atomic support")
Signed-off-by: Junxian Huang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions