Honor内核需要修改的Werror

./arch/alpha/lib/Makefile:ccflags-y := -Werror
./arch/alpha/mm/Makefile:ccflags-y := -Werror
./arch/alpha/oprofile/Makefile:ccflags-y := -Werror -Wno-sign-compare
./arch/metag/oprofile/Makefile:ccflags-y        += -Werror
./arch/mips/Kbuild:# -Werror can be disabled for specific files using:
./arch/mips/Kbuild:subdir-ccflags-y := -Werror
./arch/powerpc/Kconfig.debug:   bool "Don't build arch/powerpc code with -Werror"
./arch/powerpc/Kconfig.debug:     arch/powerpc with the -Werror flag (which means warnings
./arch/powerpc/kernel/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/kvm/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/lib/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/mm/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/oprofile/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/perf/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/platforms/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/sysdev/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/sysdev/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/sysdev/xics/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/powerpc/xmon/Makefile:subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
./arch/sh/cchips/hd6446x/Makefile:ccflags-y := -Werror
./arch/sh/kernel/Makefile:ccflags-y := -Werror
./arch/sh/lib/Makefile:ccflags-y := -Werror
./arch/sh/mm/Makefile:ccflags-y := -Werror
./arch/sparc/kernel/Makefile:ccflags-y := -Werror
./arch/sparc/lib/Makefile:ccflags-y := -Werror
./arch/sparc/mm/Makefile:ccflags-y := -Werror
./arch/sparc/prom/Makefile:ccflags := -Werror
./arch/tile/include/asm/uaccess.h: * option is not really compatible with -Werror, which is more useful in
./Documentation/kbuild/makefiles.txt:           subdir-ccflags-y := -Werror
./drivers/cfi/Makefile:subdir-ccflags-y       += -Wall -Werror
./drivers/connectivity/hisi/platform/Makefile:EXTRA_CFLAGS += -Werror -Wuninitialized -Wempty-body -Wclobbered -Wmissing-parameter-type -Wold-style-declaration -Woverride-init -Wtype-limits
./drivers/connectivity/hisi/wifi/Makefile:EXTRA_CFLAGS += -Werror
./drivers/gpu/drm/omapdrm/Makefile:ccflags-y := -Iinclude/drm -Werror
./drivers/gpu/drm/tilcdc/Makefile:      ccflags-y += -Werror
./drivers/hisi/axi/Makefile:subdir-ccflags-y              += -Wall -Werror
./drivers/hisi/hi6421_spk/Makefile:subdir-ccflags-y += -Wall -Werror
./drivers/hisi/hi64xx/Makefile:subdir-ccflags-y += -Wall -Werror
./drivers/hisi/hi64xx_dsp/Makefile:subdir-ccflags-y += -Wall -Werror
./drivers/hisi/hifi_dsp/Makefile:subdir-ccflags-y += -Wall -Werror
./drivers/hisi/hifi_mailbox/Makefile:subdir-ccflags-y += -Wall -Werror
./drivers/hisi/hisee/Makefile:subdir-ccflags-y              += -Wall -Werror
./drivers/hisi/memory_dump/Makefile:subdir-ccflags-y              += -Wall -Werror -DTEXT_OFFSET=$(TEXT_OFFSET)
./drivers/hisi/mntn/bl31/Makefile:ccflags-y += -Wall -Werror
./drivers/hisi/mntn/blackbox/Makefile:ccflags-y += -Wall -Werror
./drivers/hisi/mntn/blackbox/platform_ap/Makefile:ccflags-y += -Wall -Werror
./drivers/hisi/mntn/blackbox/platform_lpm3/Makefile:ccflags-y += -Wall -Werror
./drivers/hisi/mntn/hisee/Makefile:ccflags-y += -Wall -Werror
./drivers/hisi/mntn/Makefile:ccflags-y += -I$(srctree)/drivers/hisi/secure_boot/inc -Wall -Werror
./drivers/hisi/modem/drv/applog/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/diag_frame/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/fiq/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/hwadp/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/icc/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/ipc/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/loadm/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/mem/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/modem_avs/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/nvim/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/n_ipf/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/n_psam/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/ocp/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/pm_om/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/reset/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/sc/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/sec_call/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/socp/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/sysctrl/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/drv/thermal/Makefile:subdir-ccflags-y := -Werror
./drivers/hisi/modem/oam/lt/Kbuild:subdir-ccflags-y := -Werror
./drivers/hisi/noc/Makefile:subdir-ccflags-$(CONFIG_HISI_NOC)              += -Idrivers/hisi/mntn/ -Wall -Werror
./drivers/hisi/slimbus/Makefile:subdir-ccflags-y += -Wall -Werror
./drivers/hisi/soundtrigger/Makefile:subdir-ccflags-y += -Wall -Werror
./drivers/misc/cxl/Makefile:ccflags-y := -Werror $(call cc-disable-warning, unused-const-variable)
./drivers/scsi/aic7xxx/Makefile:ccflags-y += -Werror
./drivers/scsi/lpfc/Makefile:ccflags-y += -Werror
./drivers/vcodec/imagination/D5500/encode/Makefile:KBUILD_CFLAGS := $(filter-out -Werror,$(KBUILD_CFLAGS))
./drivers/vcodec/imagination/D5500/imgvideo/Makefile:KBUILD_CFLAGS := $(filter-out -Werror,$(KBUILD_CFLAGS))
./drivers/vcodec/imagination/D5500/vdec/Makefile:KBUILD_CFLAGS := $(filter-out -Werror,$(KBUILD_CFLAGS))
./drivers/vcodec/imagination/D5500_DRM/decoder/vdec/Makefile:KBUILD_CFLAGS := $(filter-out -Werror,$(KBUILD_CFLAGS))
./drivers/vcodec/imagination/D5500_DRM/encoder/DDK4/Makefile:KBUILD_CFLAGS := $(filter-out -Werror,$(KBUILD_CFLAGS))
./drivers/vcodec/imagination/D5500_DRM/imgvideo/Makefile:KBUILD_CFLAGS := $(filter-out -Werror,$(KBUILD_CFLAGS))
./error.log:/home/russiavk/Code_Opensource/kernel/drivers/hisi/hi64xx_dsp/hi64xx_hifi_om.c:632:30: error: ‘%04d’ directive output may be truncated writing between 4 and 11 bytes into a region of size between 0 and 199 [-Werror=format-truncation=]
./Makefile:                #-Werror-implicit-function-declaration \
./Makefile:#KBUILD_CFLAGS   += $(call cc-option,-Werror=implicit-int)
./Makefile:#KBUILD_CFLAGS   += $(call cc-option,-Werror=strict-prototypes)
./Makefile:#KBUILD_CFLAGS   += $(call cc-option,-Werror=date-time)
./scripts/Makefile.kasan:ifeq ($(call cc-option, $(CFLAGS_KASAN_MINIMAL) -Werror),)
./sound/soc/hisilicon/Makefile:subdir-ccflags-y += -Wall -Werror
./sound/usb/hifi/Makefile:subdir-ccflags-y += -Wall -Werror
./sound/usb/usbaudio_mailbox/Makefile:subdir-ccflags-y += -Wall -Werror
./tools/build/feature/Makefile:__BUILD = $(CC) $(CFLAGS) -Wall -Werror -o $(OUTPUT)$@ $(patsubst %.bin,%.c,$@) $(LDFLAGS)
./tools/build/feature/Makefile: $(CC) $(CFLAGS) -Wall -Werror -o $(OUTPUT)$@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty
./tools/build/feature/Makefile: $(CC) $(CFLAGS) -Wall -Werror -o $(OUTPUT)$@ test-libbfd.c -DPACKAGE='"perf"' $(LDFLAGS) -lbfd -ldl -liberty -lz
./tools/lib/api/Makefile:CFLAGS += -ggdb3 -Wall -Wextra -std=gnu99 -Werror -O6 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fPIC
./tools/lib/bpf/libbpf.h: * and will be treated as an error due to -Werror.
./tools/lib/bpf/Makefile:override CFLAGS += -Werror -Wall
./tools/perf/config/Makefile:  CFLAGS += -Werror
./tools/perf/Makefile.perf:     $(QUIET_CC)$(CC) -m32 $(filter -static,$(LDFLAGS)) -Wall -Werror -o $@ perf-read-vdso.c
./tools/perf/Makefile.perf:     $(QUIET_CC)$(CC) -mx32 $(filter -static,$(LDFLAGS)) -Wall -Werror -o $@ perf-read-vdso.c./tools/testing/selftests/powerpc/Makefile:CFLAGS := -Wall -O2 -flto -Wall -Werror -DGIT_VERSION='"$(GIT_VERSION)"' -I$(CURDIR) $(CFLAGS)
./tools/usb/usbip/configure.ac:AC_SUBST([EXTRA_CFLAGS], ["-Wall -Werror -Wextra -std=gnu99"])
./tools/virtio/Makefile:CFLAGS += -g -O2 -Werror -Wall -I. -I../include/ -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值