From: Micky Ching Date: Wed, 2 Apr 2014 09:58:52 +0000 (+0800) Subject: staging: rts5208: fix static checker warnings X-Git-Tag: firefly_0821_release~176^2~3465^2~39^2~892 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf2ec0f9ada1db6778851fcc9f736b5ca00c97ec;p=firefly-linux-kernel-4.4.55.git staging: rts5208: fix static checker warnings The patch fa590c222fba: "staging: rts5208: add support for rts5208 and rts5288" from Nov 12, 2013, leads to the following static checker warning: drivers/staging/rts5208/rtsx_chip.c:107 rtsx_enable_bus_int() warn: add curly braces? This warning is produced because incorrect code indent. Signed-off-by: Micky Ching Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rts5208/rtsx_chip.c b/drivers/staging/rts5208/rtsx_chip.c index 6426807a906f..7907e931a355 100644 --- a/drivers/staging/rts5208/rtsx_chip.c +++ b/drivers/staging/rts5208/rtsx_chip.c @@ -104,7 +104,7 @@ void rtsx_enable_bus_int(struct rtsx_chip *chip) if (chip->ic_version >= IC_VER_C) reg |= DELINK_INT_EN; #ifdef SUPPORT_OCP - reg |= OC_INT_EN; + reg |= OC_INT_EN; #endif if (!chip->adma_mode) reg |= DATA_DONE_INT_EN;