Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe CID 140077: Add missing break and FALLTHROUGH



details:   https://anonhg.NetBSD.org/src/rev/ce7ad69a4b29
branches:  trunk
changeset: 795521:ce7ad69a4b29
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 17 15:34:05 2014 +0000

description:
CID 140077: Add missing break and FALLTHROUGH

diffstat:

 sys/dev/pci/ixgbe/ixgbe_82599.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 1b86ebecb9b9 -r ce7ad69a4b29 sys/dev/pci/ixgbe/ixgbe_82599.c
--- a/sys/dev/pci/ixgbe/ixgbe_82599.c   Thu Apr 17 15:33:40 2014 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe_82599.c   Thu Apr 17 15:34:05 2014 +0000
@@ -31,7 +31,7 @@
 
 ******************************************************************************/
 /*$FreeBSD: src/sys/dev/ixgbe/ixgbe_82599.c,v 1.6 2011/01/19 19:36:27 jfv Exp $*/
-/*$NetBSD: ixgbe_82599.c,v 1.2 2014/04/08 19:39:06 christos Exp $*/
+/*$NetBSD: ixgbe_82599.c,v 1.3 2014/04/17 15:34:05 christos Exp $*/
 
 #include "ixgbe_type.h"
 #include "ixgbe_api.h"
@@ -1677,6 +1677,7 @@
        case IXGBE_ATR_FLOW_TYPE_IPV4:
                /* use the L4 protocol mask for raw IPv4/IPv6 traffic */
                fdirm |= IXGBE_FDIRM_L4P;
+               break;
        case IXGBE_ATR_FLOW_TYPE_SCTPV4:
                if (input_masks->dst_port_mask || input_masks->src_port_mask) {
                        DEBUGOUT(" Error on src/dst port mask\n");
@@ -1705,6 +1706,7 @@
        case 0xEFFF:
                /* Unmask VLAN ID - bit 0 and fall through to unmask prio */
                fdirm &= ~IXGBE_FDIRM_VLANID;
+               /*FALLTHROUGH*/
        case 0xE000:
                /* Unmask VLAN prio - bit 1 */
                fdirm &= ~IXGBE_FDIRM_VLANP;



Home | Main Index | Thread Index | Old Index