mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
Staging: bcm: Qos.c: checkpatch.pl fix: Indentation of case-statements fixed
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8613091369
commit
81a208f8a0
1 changed files with 41 additions and 45 deletions
|
@ -609,51 +609,47 @@ 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) {
|
||||
|
|
Loading…
Reference in a new issue