Fix Module Compilation Warnings

Add flag to disable indentation warnings.
This flag is specific to Clang-11 and should not affect Clang-10.

Change-Id: Ie46ece18810f283e93605a00a6bde89c47b5222b
This commit is contained in:
Elmer Melendez 2020-07-17 18:43:16 -06:00
parent d2ef3bbe5a
commit 1ee784afd4
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,8 @@ KBUILD_EXTRA_SYMBOLS := $(shell pwd)/../../$(RMNET_CORE_PATH)/Module.symvers
obj-m += rmnet_offload.o
#Need core headers
ccflags-y := -I$(RMNET_CORE_INC_DIR)
ccflags-y := -I$(RMNET_CORE_INC_DIR) \
$(call cc-option,-Wno-misleading-indentation)
rmnet_offload-y := rmnet_offload_state.o rmnet_offload_main.o \
rmnet_offload_engine.o rmnet_offload_tcp.o \
rmnet_offload_udp.o rmnet_offload_stats.o \

View File

@ -3,7 +3,8 @@ KBUILD_EXTRA_SYMBOLS := $(shell pwd)/../../$(RMNET_CORE_PATH)/Module.symvers
obj-m += rmnet_shs.o
#Need core headers
ccflags-y := -I$(RMNET_CORE_INC_DIR)
ccflags-y := -I$(RMNET_CORE_INC_DIR) \
$(call cc-option,-Wno-misleading-indentation)
rmnet_shs-y := rmnet_shs_config.o \
rmnet_shs_main.o \
rmnet_shs_common.o \