summaryrefslogtreecommitdiff
path: root/lib/memweight.c
diff options
context:
space:
mode:
authorNoa Osherovich <noaos@mellanox.com>2016-06-04 15:15:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-20 18:09:25 +0200
commita25be0f972d74aa4bd3efe8951eb3c66d605c650 (patch)
tree0068106bb1d5e7b3bd9264db7fc5050a1cd348c7 /lib/memweight.c
parentcbbfde038e42029e4dfbb303ab5f825fd743973e (diff)
downloadlwn-a25be0f972d74aa4bd3efe8951eb3c66d605c650.tar.gz
lwn-a25be0f972d74aa4bd3efe8951eb3c66d605c650.zip
IB/mlx5: Fix entries check in mlx5_ib_resize_cq
commit 3c4c37746c919c983e439ac6a7328cd2d48c10ed upstream. Verify that number of entries is less than device capability. Add an appropriate warning message for error flow. Fixes: bde51583f49b ('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>
Diffstat (limited to 'lib/memweight.c')
0 files changed, 0 insertions, 0 deletions