mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
IB/mlx5: Fix entries check in mlx5_ib_resize_cq
commit3c4c37746cupstream. Verify that number of entries is less than device capability. Add an appropriate warning message for error flow. Fixes:bde51583f4('IB/mlx5: Add support for resize CQ') Signed-off-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Noa Osherovich <noaos@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
cbbfde038e
commit
a25be0f972
1 changed files with 7 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue