linux-stable/drivers/infiniband/hw/mlx5
Leon Romanovsky c876a1b7dd 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: 3f89a643eb ("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>
2016-01-19 15:25:45 -05:00
..
ah.c IB/mlx5: Add RoCE fields to Address Vector 2015-12-23 12:07:37 -05:00
cq.c IB/mlx5: Add driver cross-channel support 2015-12-23 23:33:14 -05:00
doorbell.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
Kconfig net/mlx5: Extend mlx5_core to support ConnectX-4 Ethernet functionality 2015-05-30 18:24:51 -07:00
mad.c IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
main.c IB/mlx5: Fix passing casted pointer in mlx5_query_port_roce 2016-01-19 15:25:45 -05:00
Makefile IB/mlx5: Implement the ODP capability query verb 2014-12-15 18:19:02 -08:00
mem.c IB/mlx5: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
mlx5_ib.h IB/mlx5: Add driver cross-channel support 2015-12-23 23:33:14 -05:00
mr.c IB/mlx5: Postpone remove_keys under knowledge of coming preemption 2015-12-08 16:55:31 -05:00
odp.c net/mlx5_core: New device capabilities handling 2015-05-30 18:23:22 -07:00
qp.c IB/mlx5: Add driver cross-channel support 2015-12-23 23:33:14 -05:00
srq.c net/mlx5_core: Enable XRCs and SRQs when using ISSI > 0 2015-06-04 16:41:01 -07:00
user.h IB/mlx5: Add hca_core_clock_offset to udata in init_ucontext 2015-12-23 23:25:59 -05:00