summaryrefslogtreecommitdiff
path: root/drivers/staging/bcm
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2014-07-15 09:43:04 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-15 08:09:48 -0700
commitb43b245fb36c8068c2f33330a7935974b7bcca02 (patch)
tree459ea27957a0350c77609a9737505b6398a273b5 /drivers/staging/bcm
parentbabb7f94795009eb2500fc25b96dddc811991487 (diff)
Staging: bcm: PHSModule.c: Added missing braces around else block
Signed-off-by: Matthias Beyer <mail@beyermatthias.de> Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/bcm')
-rw-r--r--drivers/staging/bcm/PHSModule.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/bcm/PHSModule.c b/drivers/staging/bcm/PHSModule.c
index e01c5cfbaf49..e3db972d5b35 100644
--- a/drivers/staging/bcm/PHSModule.c
+++ b/drivers/staging/bcm/PHSModule.c
@@ -783,8 +783,9 @@ static ULONG PhsCompress(IN void *pvContext,
pstPhsRule->PHSModifiedBytes +=
*pOldHeaderSize - *pNewHeaderSize - 1;
pstPhsRule->PHSModifiedNumPackets++;
- } else
+ } else {
pstPhsRule->PHSErrorNumPackets++;
+ }
return lStatus;
}