summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/igbvf
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/net/igbvf
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/net/igbvf')
-rw-r--r--src/drivers/net/igbvf/igbvf_vf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/net/igbvf/igbvf_vf.c b/src/drivers/net/igbvf/igbvf_vf.c
index f2dac8be..f841d5e3 100644
--- a/src/drivers/net/igbvf/igbvf_vf.c
+++ b/src/drivers/net/igbvf/igbvf_vf.c
@@ -357,6 +357,7 @@ s32 igbvf_promisc_set_vf(struct e1000_hw *hw, enum e1000_promisc_type type)
break;
case e1000_promisc_enabled:
msgbuf |= E1000_VF_SET_PROMISC_MULTICAST;
+ /* Fall through */
case e1000_promisc_unicast:
msgbuf |= E1000_VF_SET_PROMISC_UNICAST;
case e1000_promisc_disabled: