From f45e82439f3191685d88aa59a32d15a93367008f Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Sat, 21 Jan 2017 12:28:57 +0900 Subject: [PATCH] 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 --- drivers/net/wireless/bcmdhd/dhd_sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.7.4