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:
parent
d2ef3bbe5a
commit
1ee784afd4
@ -3,7 +3,8 @@ KBUILD_EXTRA_SYMBOLS := $(shell pwd)/../../$(RMNET_CORE_PATH)/Module.symvers
|
|||||||
|
|
||||||
obj-m += rmnet_offload.o
|
obj-m += rmnet_offload.o
|
||||||
#Need core headers
|
#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-y := rmnet_offload_state.o rmnet_offload_main.o \
|
||||||
rmnet_offload_engine.o rmnet_offload_tcp.o \
|
rmnet_offload_engine.o rmnet_offload_tcp.o \
|
||||||
rmnet_offload_udp.o rmnet_offload_stats.o \
|
rmnet_offload_udp.o rmnet_offload_stats.o \
|
||||||
|
@ -3,7 +3,8 @@ KBUILD_EXTRA_SYMBOLS := $(shell pwd)/../../$(RMNET_CORE_PATH)/Module.symvers
|
|||||||
|
|
||||||
obj-m += rmnet_shs.o
|
obj-m += rmnet_shs.o
|
||||||
#Need core headers
|
#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-y := rmnet_shs_config.o \
|
||||||
rmnet_shs_main.o \
|
rmnet_shs_main.o \
|
||||||
rmnet_shs_common.o \
|
rmnet_shs_common.o \
|
||||||
|
Loading…
Reference in New Issue
Block a user