aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes/nes_hw.c
diff options
context:
space:
mode:
authorKaike Wan <kaike.wan@intel.com>2019-02-15 13:45:30 -0800
committerJason Gunthorpe <jgg@mellanox.com>2019-02-15 15:55:50 -0700
commite50838c27ff7e1438ea2f9ab4bfcb227f90a107f (patch)
tree25a508ca5c83096fa8ef120e4a1f7755dedf748a /drivers/infiniband/hw/nes/nes_hw.c
parentRDMA/uverbs: Fix an error flow in ib_uverbs_poll_cq (diff)
downloadlinux-dev-e50838c27ff7e1438ea2f9ab4bfcb227f90a107f.tar.xz
linux-dev-e50838c27ff7e1438ea2f9ab4bfcb227f90a107f.zip
IB/hfi1: Fix a build warning for TID RDMA READ
The following build warning was produced for the TID RDMA READ patch ("IB/hfi1: Enable TID RDMA READ protocol"): drivers/infiniband/hw/hfi1/qp.c: In function 'hfi1_setup_wqe': drivers/infiniband/hw/hfi1/qp.c:328:3: warning: this statement may fall through [-Wimplicit-fallthrough=] hfi1_setup_tid_rdma_wqe(qp, wqe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/infiniband/hw/hfi1/qp.c:329:2: note: here case IB_QPT_UC: ^~~~ This patch will fix the issue by adding the "fall through" comment. Fixes: f1ab4efa6d32 ("IB/hfi1: Enable TID RDMA READ protocol") Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_hw.c')
0 files changed, 0 insertions, 0 deletions