]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: bcm: Qos.c: Fix coding style
authorKhoa Mai <mdk194@gmail.com>
Fri, 18 Jul 2014 01:45:05 +0000 (04:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jul 2014 01:51:27 +0000 (18:51 -0700)
Switch and case should be in same indent level

Signed-off-by: Khoa Mai <mdk194@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Qos.c

index e3cbcb1c837954b731bcb525ed644e5d1bddc92d..0eb78a8010fe840e720c2a0819bc92935785d1db 100644 (file)
@@ -438,26 +438,26 @@ USHORT ClassifyPacket(struct bcm_mini_adapter *Adapter, struct sk_buff *skb)
        EThCSGetPktInfo(Adapter, pvEThPayload, &stEthCsPktInfo);
 
        switch (stEthCsPktInfo.eNwpktEthFrameType) {
-               case eEth802LLCFrame:
-                       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : 802LLCFrame\n");
-                       pIpHeader = pvEThPayload + sizeof(struct bcm_eth_llc_frame);
-                       break;
-               case eEth802LLCSNAPFrame:
-                       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : 802LLC SNAP Frame\n");
-                       pIpHeader = pvEThPayload + sizeof(struct bcm_eth_llc_snap_frame);
-                       break;
-               case eEth802QVLANFrame:
-                       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : 802.1Q VLANFrame\n");
-                       pIpHeader = pvEThPayload + sizeof(struct bcm_eth_q_frame);
-                       break;
-               case eEthOtherFrame:
-                       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : ETH Other Frame\n");
-                       pIpHeader = pvEThPayload + sizeof(struct bcm_ethernet2_frame);
-                       break;
-               default:
-                       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : Unrecognized ETH Frame\n");
-                       pIpHeader = pvEThPayload + sizeof(struct bcm_ethernet2_frame);
-                       break;
+       case eEth802LLCFrame:
+               BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : 802LLCFrame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_eth_llc_frame);
+               break;
+       case eEth802LLCSNAPFrame:
+               BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : 802LLC SNAP Frame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_eth_llc_snap_frame);
+               break;
+       case eEth802QVLANFrame:
+               BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : 802.1Q VLANFrame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_eth_q_frame);
+               break;
+       case eEthOtherFrame:
+               BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : ETH Other Frame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_ethernet2_frame);
+               break;
+       default:
+               BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "ClassifyPacket : Unrecognized ETH Frame\n");
+               pIpHeader = pvEThPayload + sizeof(struct bcm_ethernet2_frame);
+               break;
        }
 
        if (stEthCsPktInfo.eNwpktIPFrameType == eIPv4Packet) {