Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchDestIpAddress()
authorMatthias Beyer <mail@beyermatthias.de>
Tue, 29 Jul 2014 14:52:21 +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 f3cef8692529a572dcdd78d7654da8fcf158239f..9465817bf0ba0f77393c72da97b14035ef6af420 100644 (file)
@@ -89,14 +89,28 @@ static bool MatchDestIpAddress(struct bcm_classifier_rule *pstClassifierRule, UL
        ulDestIP = ntohl(ulDestIP);
        if (0 == pstClassifierRule->ucIPDestinationAddressLength)
                return TRUE;
-       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "Destination Ip Address 0x%x 0x%x 0x%x  ", (UINT)ulDestIP, (UINT)dest_addr->ulIpv4Mask[ucLoopIndex], (UINT)dest_addr->ulIpv4Addr[ucLoopIndex]);
+       BCM_DEBUG_PRINT(Adapter,
+                       DBG_TYPE_TX,
+                       IPV4_DBG,
+                       DBG_LVL_ALL,
+                       "Destination Ip Address 0x%x 0x%x 0x%x  ",
+                       (UINT)ulDestIP,
+                       (UINT)dest_addr->ulIpv4Mask[ucLoopIndex],
+                       (UINT)dest_addr->ulIpv4Addr[ucLoopIndex]);
 
-       for (ucLoopIndex = 0; ucLoopIndex < (pstClassifierRule->ucIPDestinationAddressLength); ucLoopIndex++) {
+       for (ucLoopIndex = 0;
+            ucLoopIndex < (pstClassifierRule->ucIPDestinationAddressLength);
+            ucLoopIndex++) {
                if ((dest_addr->ulIpv4Mask[ucLoopIndex] & ulDestIP) ==
-                               (dest_addr->ulIpv4Addr[ucLoopIndex] & dest_addr->ulIpv4Mask[ucLoopIndex]))
+                               (dest_addr->ulIpv4Addr[ucLoopIndex] &
+                                dest_addr->ulIpv4Mask[ucLoopIndex]))
                        return TRUE;
        }
-       BCM_DEBUG_PRINT(Adapter, DBG_TYPE_TX, IPV4_DBG, DBG_LVL_ALL, "Destination Ip Address Not Matched");
+       BCM_DEBUG_PRINT(Adapter,
+                       DBG_TYPE_TX,
+                       IPV4_DBG,
+                       DBG_LVL_ALL,
+                       "Destination Ip Address Not Matched");
        return false;
 }