Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchSrcPort()
authorMatthias Beyer <mail@beyermatthias.de>
Tue, 29 Jul 2014 14:52:24 +0000 (16:52 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jul 2014 00:14:23 +0000 (17:14 -0700)
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/bcm/Qos.c

index 891f6906715ca3e343742af5766302c563d20f75..0f733f97c756a8c9a1f902592d7c05068168a03d 100644 (file)
@@ -198,7 +198,8 @@ bool MatchProtocol(struct bcm_classifier_rule *pstClassifierRule,
 *
 * Returns     - TRUE(If address matches) else FAIL.
 ***************************************************************************/
-bool MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule, USHORT ushSrcPort)
+bool MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule,
+                 USHORT ushSrcPort)
 {
        UCHAR ucLoopIndex = 0;
 
@@ -207,12 +208,19 @@ bool MatchSrcPort(struct bcm_classifier_rule *pstClassifierRule, USHORT ushSrcPo
 
        if (0 == pstClassifierRule->ucSrcPortRangeLength)
                return TRUE;
-       for (ucLoopIndex = 0; ucLoopIndex < pstClassifierRule->ucSrcPortRangeLength; ucLoopIndex++) {
+       for (ucLoopIndex = 0;
+            ucLoopIndex < pstClassifierRule->ucSrcPortRangeLength;
+            ucLoopIndex++) {
                if (ushSrcPort <= pstClassifierRule->usSrcPortRangeHi[ucLoopIndex] &&
                        ushSrcPort >= pstClassifierRule->usSrcPortRangeLo[ucLoopIndex])
                        return TRUE;
        }
-       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "Src Port: %x Not Matched ", ushSrcPort);
+       BCM_DEBUG_PRINT(Adapter,
+                       DBG_TYPE_TX,
+                       IPV4_DBG,
+                       DBG_LVL_ALL,
+                       "Src Port: %x Not Matched ",
+                       ushSrcPort);
        return false;
 }