Staging: bcm: PHSModule.c: Added missing braces around else block
authorMatthias Beyer <mail@beyermatthias.de>
Tue, 15 Jul 2014 07:43:04 +0000 (09:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 15:09:48 +0000 (08:09 -0700)
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>
drivers/staging/bcm/PHSModule.c

index e01c5cfbaf493784216e4704cf0573ed01f38ce3..e3db972d5b35e90ac6f81306faddfa38965d5d50 100644 (file)
@@ -783,8 +783,9 @@ static ULONG PhsCompress(IN void *pvContext,
                pstPhsRule->PHSModifiedBytes +=
                        *pOldHeaderSize - *pNewHeaderSize - 1;
                pstPhsRule->PHSModifiedNumPackets++;
-       } else
+       } else {
                pstPhsRule->PHSErrorNumPackets++;
+       }
 
        return lStatus;
 }