summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@leon.nu>2016-01-09 13:06:25 +0200
committerDoug Ledford <dledford@redhat.com>2016-01-19 15:25:45 -0500
commitc876a1b7dd6da5dd2d54990fa2772cbfe3779726 (patch)
tree1f60dd48f75584e0a70229e32f83f7e900ae711c /drivers/infiniband/core
parentd53e11fdf0538a972ad4f1e5ec315d3e35c1aae9 (diff)
downloadtalos-obmc-linux-c876a1b7dd6da5dd2d54990fa2772cbfe3779726.tar.gz
talos-obmc-linux-c876a1b7dd6da5dd2d54990fa2772cbfe3779726.zip
IB/mlx5: Fix passing casted pointer in mlx5_query_port_roce
Fix static checker warning: drivers/infiniband/hw/mlx5/main.c:149 mlx5_query_port_roce() warn: passing casted pointer '&props->qkey_viol_cntr' to 'mlx5_query_nic_vport_qkey_viol_cntr()' 32 vs 16. Fixes: 3f89a643eb29 ("IB/mlx5: Extend query_device/port to support RoCE") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud