Skip to content

Commit 9be9453

Browse files
committed
Fix build error when compiled on Tinker board
This error caused by forbidden warning. drivers/net/wireless/rockchip_wlan/rtl8723bs/core/rtw_security.c: In function ‘aes_cipher’: drivers/net/wireless/rockchip_wlan/rtl8723bs/core/rtw_security.c:1598:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] error, forbidden warning: rtw_security.c:1598 Change-Id: Iadc10a35c240f881f59933f22155ddfc381d60b3 Reviewed-on: https://tp-biosrd-v02/gerrit/82579 Reviewed-by: Sam2 Hsu(徐敏原) <Sam2_Hsu@asus.com> Tested-by: Sam2 Hsu(徐敏原) <Sam2_Hsu@asus.com>
1 parent de8ac6c commit 9be9453

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/net/wireless/rockchip_wlan/rtl8723bs/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ EXTRA_CFLAGS += -Wno-unused-label
1313
EXTRA_CFLAGS += -Wno-unused-parameter
1414
EXTRA_CFLAGS += -Wno-unused-function
1515
EXTRA_CFLAGS += -Wno-unused
16+
EXTRA_CFLAGS += -Wno-misleading-indentation
1617
#EXTRA_CFLAGS += -Wno-uninitialized
1718

1819
GCC_VER_49 := $(shell echo `$(CC) -dumpversion | cut -f1-2 -d.` \>= 4.9 | bc )

drivers/net/wireless/rockchip_wlan/rtl8814au/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ EXTRA_CFLAGS += -Wno-unused-label
1313
EXTRA_CFLAGS += -Wno-unused-parameter
1414
EXTRA_CFLAGS += -Wno-unused-function
1515
EXTRA_CFLAGS += -Wno-unused
16+
EXTRA_CFLAGS += -Wno-misleading-indentation
1617
#EXTRA_CFLAGS += -Wno-uninitialized
1718
EXTRA_CFLAGS += -Wno-error=date-time # Fix compile error on gcc 4.9 and later
1819

0 commit comments

Comments
 (0)