diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-03-19 18:22:21 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-03-30 20:47:44 +0300 |
| commit | dc76086a2d94d09aea9fd41a65ed56e0f7a6ec50 (patch) | |
| tree | ab90a1d29e8154e7229d9259413d72b31d3821cf /include/linux/debugobjects.h | |
| parent | ce68351be075db89ff68de17e57dbe9b48374110 (diff) | |
| download | linux-dc76086a2d94d09aea9fd41a65ed56e0f7a6ec50.tar.xz | |
RDMA: Properly propagate the number of CQEs as unsigned int
Instead of checking whether the number of CQEs is negative or zero, fix the
.resize_user_cq() declaration to use unsigned int. This better reflects the
expected value range. The sanity check is then handled correctly in ib_uvbers.
Link: https://patch.msgid.link/20260319-resize_cq-cqe-v1-1-b78c6efc1def@nvidia.com
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
