summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mlx4/alias_GUID.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@mellanox.com>2017-08-17 15:50:41 +0300
committerDoug Ledford <dledford@redhat.com>2017-08-24 16:27:10 -0400
commit5d50f400e56fbc7a14ef3f8d42ba47710e455881 (patch)
tree5b09b135efa7a78a749aa4f6d0f3f14b6d18985c /drivers/infiniband/hw/mlx4/alias_GUID.c
parent31f97bad06446ca2d929a363a4b5cd494f276ba5 (diff)
RDMA/usnic: Fix remove address space warning
Sparse tool complains with the following error: drivers/infiniband/hw/usnic/usnic_ib_main.c:445:16: warning: cast removes address space of expression Fix it by doing casting on correct field and convert function helper which sets ifaddr to be void, because there are no users who are interested in returned value. Fixes: c7845bcafe4d ("IB/usnic: Add UDP support in u*verbs.c, u*main.c and u*util.h") Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions