diff options
| author | Leon Romanovsky <[email protected]> | 2017-08-17 12:50:41 +0000 |
|---|---|---|
| committer | Doug Ledford <[email protected]> | 2017-08-24 20:27:10 +0000 |
| commit | 5d50f400e56fbc7a14ef3f8d42ba47710e455881 (patch) | |
| tree | 5b09b135efa7a78a749aa4f6d0f3f14b6d18985c /drivers/infiniband/hw/mlx4/alias_GUID.c | |
| parent | RDMA/mlx4: Remove gfp_mask argument from acquire_group call (diff) | |
| download | kernel-5d50f400e56fbc7a14ef3f8d42ba47710e455881.tar.gz kernel-5d50f400e56fbc7a14ef3f8d42ba47710e455881.zip | |
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 <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions
