diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-02-20 19:02:33 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-02-21 14:08:12 -0700 |
commit | 7264235ee74f51d26fbdf97bf98c6102a460484f (patch) | |
tree | ed2e6799fcad630dd4f94730839f74f1980183a6 /drivers/hwmon/ad7418.c | |
parent | 815f7480373e2993e0d6b0ee53b62fc7d28af6f5 (diff) | |
download | linux-7264235ee74f51d26fbdf97bf98c6102a460484f.tar.bz2 |
IB/hfi1: Add missing break in switch statement
Fix the following warning by adding a missing break:
drivers/infiniband/hw/hfi1/tid_rdma.c: In function ‘hfi1_tid_rdma_wqe_interlock’:
drivers/infiniband/hw/hfi1/tid_rdma.c:3251:3: warning: this statement may fall through [-Wimplicit-fallthrough=]
switch (prev->wr.opcode) {
^~~~~~
drivers/infiniband/hw/hfi1/tid_rdma.c:3259:2: note: here
case IB_WR_RDMA_READ:
^~~~
Warning level 3 was used: -Wimplicit-fallthrough=3
This patch is part of the ongoing efforts to enable
-Wimplicit-fallthrough.
Fixes: c6c231175ccd ("IB/hfi1: Add interlock between TID RDMA WRITE and other requests")
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Reviewed-by: Kaike Wan <Kaike.wan@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/hwmon/ad7418.c')
0 files changed, 0 insertions, 0 deletions