OSDN Git Service

staging: rts5208: ms.c: Braces fix
authorWayne Porter <wporter82@gmail.com>
Tue, 11 Oct 2016 21:56:56 +0000 (21:56 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:27:14 +0000 (10:27 +0200)
Add braces to all arms of if statement

Signed-off-by: Wayne Porter <wporter82@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rts5208/ms.c

index d9bf3d0..2dd6823 100644 (file)
@@ -805,9 +805,9 @@ static int ms_confirm_cpu_startup(struct rtsx_chip *chip)
        }
 
        if (val & INT_REG_ERR) {
-               if (val & INT_REG_CMDNK)
+               if (val & INT_REG_CMDNK) {
                        chip->card_wp |= (MS_CARD);
-               else {
+               else {
                        rtsx_trace(chip);
                        return STATUS_FAIL;
                }