mirror-linux/include/linux/qed
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
..
common_hsi.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
eth_common.h qed*: Utilize FW 8.33.11.0 2018-03-29 14:18:02 -04:00
fcoe_common.h
iscsi_common.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
iwarp_common.h
qed_chain.h
qed_eth_if.h qed/qede: Multi CoS support. 2018-08-09 14:05:30 -07:00
qed_fcoe_if.h
qed_if.h qed: Add qed APIs for PHY module query. 2018-07-19 23:35:37 -07:00
qed_iov_if.h
qed_iscsi_if.h
qed_ll2_if.h qed: Add support for Unified Fabric Port. 2018-05-07 23:46:10 -04:00
qed_rdma_if.h RDMA/qedr: Remove enumerated type qed_roce_ll2_tx_dest 2018-09-30 19:21:11 -06:00
qede_rdma.h
rdma_common.h qed*: Utilize FW 8.33.11.0 2018-03-29 14:18:02 -04:00
roce_common.h qed*: Utilize FW 8.37.2.0 2018-06-05 10:48:09 -04:00
storage_common.h
tcp_common.h