summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm/Qos.c
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-07-29 16:52:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-30 17:14:23 -0700
commitb2e6c772e4cb2db6c4501d2887569e22db22ed32 (patch)
tree22a8f64730b0e688296cc9e72f0c7d8b66baf4f4 /drivers/staging/bcm/Qos.c
parent1ccbecddbcc3aa44e070221b64316bed14c93025 (diff)
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchSrcIpAddress()
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm/Qos.c')
-rw-r--r--drivers/staging/bcm/Qos.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c
index 9455c25e2341..f3cef8692529 100644
--- a/drivers/staging/bcm/Qos.c
+++ b/drivers/staging/bcm/Qos.c
@@ -42,7 +42,9 @@ static bool MatchSrcIpAddress(struct bcm_classifier_rule *pstClassifierRule,
ulSrcIP = ntohl(ulSrcIP);
if (0 == pstClassifierRule->ucIPSourceAddressLength)
return TRUE;
- for (ucLoopIndex = 0; ucLoopIndex < (pstClassifierRule->ucIPSourceAddressLength); ucLoopIndex++) {
+ for (ucLoopIndex = 0;
+ ucLoopIndex < (pstClassifierRule->ucIPSourceAddressLength);
+ ucLoopIndex++) {
src_addr = &pstClassifierRule->stSrcIpAddress;
BCM_DEBUG_PRINT(Adapter,
DBG_TYPE_TX,
@@ -54,10 +56,15 @@ static bool MatchSrcIpAddress(struct bcm_classifier_rule *pstClassifierRule,
(UINT)src_addr->ulIpv6Addr[ucLoopIndex]);
if ((src_addr->ulIpv4Mask[ucLoopIndex] & ulSrcIP) ==
- (src_addr->ulIpv4Addr[ucLoopIndex] & src_addr->ulIpv4Mask[ucLoopIndex]))
+ (src_addr->ulIpv4Addr[ucLoopIndex] &
+ src_addr->ulIpv4Mask[ucLoopIndex]))
return TRUE;
}
- BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "Src Ip Address Not Matched");
+ BCM_DEBUG_PRINT(Adapter,
+ DBG_TYPE_TX,
+ IPV4_DBG,
+ DBG_LVL_ALL,
+ "Src Ip Address Not Matched");
return false;
}