From: Seung-Woo Kim Date: Sat, 21 Jan 2017 03:28:57 +0000 (+0900) Subject: net: bcmdhd: fix non proper indent for if clause X-Git-Tag: accepted/tizen/unified/20190130.053716~84 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f45e82439f3191685d88aa59a32d15a93367008f;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git net: bcmdhd: fix non proper indent for if clause non proper indent for if clause causes build error with gcc 6. Fix the non proper indent to fix following build warning: drivers/net/wireless/bcmdhd/dhd_sdio.c: In function 'dhd_bus_devreset': drivers/net/wireless/bcmdhd/dhd_sdio.c:8919:6: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ drivers/net/wireless/bcmdhd/dhd_sdio.c:8922:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' dhd_os_sdunlock(dhdp); ^~~~~~~~~~~~~~~ Change-Id: I032eee3c74768988c5fb3bc75651ce802ba8954d Signed-off-by: Seung-Woo Kim --- diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c index 207ebdf..412965f 100644 --- a/drivers/net/wireless/bcmdhd/dhd_sdio.c +++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c @@ -8919,7 +8919,7 @@ dhd_bus_devreset(dhd_pub_t *dhdp, uint8 flag) } else bcmerror = BCME_SDIO_ERROR; - dhd_os_sdunlock(dhdp); + dhd_os_sdunlock(dhdp); } else { bcmerror = BCME_SDIO_ERROR; DHD_INFO(("%s called when dongle is not in reset\n",