summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
diff options
context:
space:
mode:
authorTony Nguyen2017-05-12 20:38:10 +0200
committerJeff Kirsher2017-05-31 13:46:44 +0200
commit80666035c70bc8def691b4cb98fa39da3d6fdee1 (patch)
tree164f8a4465dba4fa8779522031720c87651677a1 /drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c
parentixgbevf: Resolve truncation warning for q_vector->name (diff)
downloadkernel-qcow2-linux-80666035c70bc8def691b4cb98fa39da3d6fdee1.tar.gz
kernel-qcow2-linux-80666035c70bc8def691b4cb98fa39da3d6fdee1.tar.xz
kernel-qcow2-linux-80666035c70bc8def691b4cb98fa39da3d6fdee1.zip
ixgbevf: Resolve warnings for -Wimplicit-fallthrough
Additions to gcc 7 now warn whenever a switch statement falls through implicitly. This patch adds explicit fall through comments to address the following warnings: drivers/net/ethernet/intel/ixgbevf/vf.c: In function ‘ixgbevf_get_reta_locked’: drivers/net/ethernet/intel/ixgbevf/vf.c:336:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (hw->mac.type < ixgbe_mac_X550_vf) ^ drivers/net/ethernet/intel/ixgbevf/vf.c:338:2: note: here default: ^~~~~~~ drivers/net/ethernet/intel/ixgbevf/vf.c: In function ‘ixgbevf_get_rss_key_locked’: drivers/net/ethernet/intel/ixgbevf/vf.c:402:6: warning: this statement may fall through [-Wimplicit-fallthrough=] if (hw->mac.type < ixgbe_mac_X550_vf) ^ drivers/net/ethernet/intel/ixgbevf/vf.c:404:2: note: here default: ^~~~~~~ Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c')
0 files changed, 0 insertions, 0 deletions