summaryrefslogtreecommitdiffstats
path: root/src/drivers/infiniband
diff options
context:
space:
mode:
authorMichael Brown2017-03-29 09:36:03 +0200
committerMichael Brown2017-03-29 09:36:45 +0200
commit5f85cbb9ee1c00cec81a848a9e871ad5d1e7f53f (patch)
tree3f69e821428c32483724f3f1ba83f4211ec11572 /src/drivers/infiniband
parent[mucurses] Fix erroneous __nonnull attribute (diff)
downloadipxe-5f85cbb9ee1c00cec81a848a9e871ad5d1e7f53f.tar.gz
ipxe-5f85cbb9ee1c00cec81a848a9e871ad5d1e7f53f.tar.xz
ipxe-5f85cbb9ee1c00cec81a848a9e871ad5d1e7f53f.zip
[build] Avoid implicit-fallthrough warnings on GCC 7
Reported-by: Vinson Lee <vlee@freedesktop.org> Reported-by: Liang Yan <lyan@suse.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/infiniband')
-rwxr-xr-xsrc/drivers/infiniband/golan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/infiniband/golan.c b/src/drivers/infiniband/golan.c
index 30eaabab..61331d4c 100755
--- a/src/drivers/infiniband/golan.c
+++ b/src/drivers/infiniband/golan.c
@@ -1956,6 +1956,7 @@ static inline void golan_handle_port_event(struct golan *golan, struct golan_eqe
case GOLAN_PORT_CHANGE_SUBTYPE_CLIENT_REREG:
case GOLAN_PORT_CHANGE_SUBTYPE_ACTIVE:
golan_ib_update ( ibdev );
+ /* Fall through */
case GOLAN_PORT_CHANGE_SUBTYPE_DOWN:
case GOLAN_PORT_CHANGE_SUBTYPE_LID:
case GOLAN_PORT_CHANGE_SUBTYPE_PKEY: