diff options
author | Matthias Beyer <[email protected]> | 2014-07-29 16:52:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2014-07-30 17:14:23 -0700 |
commit | 66fa6530fa09b8d773286f19ef36469e9a5a8268 (patch) | |
tree | b0f0bd5a8e986eeff70b723a7f1a56c5925d2f03 | |
parent | fcaa42c71af297c330abaa6a98ee06b84ab93e29 (diff) |
Staging: bcm: Qos.c: Line length / Whitespace cleanup in MatchSrcPort()
Signed-off-by: Matthias Beyer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r-- | drivers/staging/bcm/Qos.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/drivers/staging/bcm/Qos.c b/drivers/staging/bcm/Qos.c index 891f6906715c..0f733f97c756 100644 --- a/drivers/staging/bcm/Qos.c +++ b/drivers/staging/bcm/Qos.c @@ -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; } |