编译linux kernel3.10报错:all warnings being treated as errors
expects argument of type 'int *', but argument 3 has type 'uint16_t *' [-Werror=format]
cc1: all warnings being treated as errors
解决方法:在linux kernel根目录下:Makefile修改 622行
ifdef CONFIG_WERROR
KBUILD_CFLAGS += -Werror
endif
修改为:
ifdef CONFIG_WERROR
KBUILD_CFLAGS += #-Werror
endif