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:
76ca0d1
)
RDMA/cxgb4: Suppress gcc 7 fall-through complaints
author
Bart Van Assche
<bart.vanassche@wdc.com>
Wed, 11 Oct 2017 17:48:55 +0000
(10:48 -0700)
committer
Doug Ledford
<dledford@redhat.com>
Sun, 15 Oct 2017 00:47:05 +0000
(20:47 -0400)
Avoid that gcc 7 reports the following warning when building with W=1:
warning: this statement may fall through [-Wimplicit-fallthrough=]
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/cxgb4/cm.c
b/drivers/infiniband/hw/cxgb4/cm.c
index f3235c6169d4093a2251228569a9d50f1ba52be5..6e84179b4f9acb90a23619e0deb2ba7afbf14ea2 100644
(file)
--- a/
drivers/infiniband/hw/cxgb4/cm.c
+++ b/
drivers/infiniband/hw/cxgb4/cm.c
@@
-3638,6
+3638,7
@@
static void active_ofld_conn_reply(struct c4iw_dev *dev, struct sk_buff *skb,
send_fw_act_open_req(ep, atid);
return;
}
+ /* fall through */
case FW_EADDRINUSE:
set_bit(ACT_RETRY_INUSE, &ep->com.history);
if (ep->retry_count++ < ACT_OPEN_RETRY_COUNT) {