projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa09ea6
)
RDMA/bnxt_re: Modify a fall-through annotation
author
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 18 Jul 2018 15:58:02 +0000
(08:58 -0700)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Mon, 23 Jul 2018 21:36:23 +0000
(15:36 -0600)
This patch avoids that gcc reports the following warning when building
with W=1:
drivers/infiniband/hw/bnxt_re/ib_verbs.c:2404:4: warning: this statement may fall through [-Wimplicit-fallthrough=]
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/bnxt_re/ib_verbs.c
b/drivers/infiniband/hw/bnxt_re/ib_verbs.c
index 492c750f7ed63c740a36666ef3486e342075239d..dd800d153aa2951160500bca46362d3ce3bf999c 100644
(file)
--- a/
drivers/infiniband/hw/bnxt_re/ib_verbs.c
+++ b/
drivers/infiniband/hw/bnxt_re/ib_verbs.c
@@
-2409,7
+2409,7
@@
int bnxt_re_post_send(struct ib_qp *ib_qp, struct ib_send_wr *wr,
default:
break;
}
- /*
Fall thru to build the wqe
*/
+ /*
fall through
*/
case IB_WR_SEND_WITH_INV:
rc = bnxt_re_build_send_wqe(qp, wr, &wqe);
break;