linux_dsm_epyc7002/drivers/infiniband/hw
Nathan Chancellor aef716fa5e RDMA/qedr: Remove enumerated type qed_roce_ll2_tx_dest
Clang warns when one enumerated type is explicitly converted to another.

drivers/infiniband/hw/qedr/qedr_roce_cm.c:198:28: warning: implicit
conversion from enumeration type 'enum qed_roce_ll2_tx_dest' to
different enumeration type 'enum qed_ll2_tx_dest' [-Wenum-conversion]
        ll2_tx_pkt.tx_dest = pkt->tx_dest;
                           ~ ~~~~~^~~~~~~
1 warning generated.

Turns out that QED_ROCE_LL2_TX_DEST_NW and QED_ROCE_LL2_TX_DEST_LB are
only used once in the whole tree and QED_ROCE_LL2_TX_DEST_MAX is used
nowhere. Remove them and use the equivalent values from qed_ll2_tx_dest
in their place.

Reported-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Acked-by: Michal Kalderon <michal.kalderon@cavium.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-30 19:21:11 -06:00
..
bnxt_re RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
cxgb3 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
cxgb4 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
hfi1 IB/hfi1: Error path MAD response size is incorrect 2018-09-30 19:21:11 -06:00
hns RDMA/hns: fix spelling mistake "reseved" -> "reserved" 2018-09-27 12:25:15 -06:00
i40iw RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mlx4 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mlx5 IB/mlx5: Enable DEVX on IB 2018-09-27 13:01:33 -06:00
mthca IB/mthca: remove redundant inner check of mdev->mthca_flags 2018-09-26 16:34:11 -06:00
nes RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
ocrdma RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
qedr RDMA/qedr: Remove enumerated type qed_roce_ll2_tx_dest 2018-09-30 19:21:11 -06:00
qib IB/{hfi1, qib, rdmavt}: Schedule multi RC/UC packets instead of posting 2018-09-11 09:55:02 -06:00
usnic RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
vmw_pvrdma RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00