From: Prarit Bhargava on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2240#note_1232751...
Testing of the change: 'make -j10 dist-configs' and
``` [prarit@prarit redhat]$ egrep CONFIG_WERROR configs/*.config configs/kernel-6.2.0-aarch64.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-aarch64-debug.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-aarch64-kgcov.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-ppc64le.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-ppc64le-debug.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-ppc64le-kgcov.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-s390x.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-s390x-debug.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-s390x-kgcov.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-s390x-zfcpdump.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-x86_64.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-x86_64-debug.config:# CONFIG_WERROR is not set configs/kernel-6.2.0-x86_64-kgcov.config:# CONFIG_WERROR is not set ```
I then set ENABLE_WERROR ?= 1 in Makefile.variables, executed 'make -j10 dist- configs' and
``` [prarit@prarit redhat]$ egrep CONFIG_WERROR configs/*.config configs/kernel-6.2.0-aarch64.config:CONFIG_WERROR=y configs/kernel-6.2.0-aarch64-debug.config:CONFIG_WERROR=y configs/kernel-6.2.0-aarch64-kgcov.config:CONFIG_WERROR=y configs/kernel-6.2.0-ppc64le.config:CONFIG_WERROR=y configs/kernel-6.2.0-ppc64le-debug.config:CONFIG_WERROR=y configs/kernel-6.2.0-ppc64le-kgcov.config:CONFIG_WERROR=y configs/kernel-6.2.0-s390x.config:CONFIG_WERROR=y configs/kernel-6.2.0-s390x-debug.config:CONFIG_WERROR=y configs/kernel-6.2.0-s390x-kgcov.config:CONFIG_WERROR=y configs/kernel-6.2.0-s390x-zfcpdump.config:CONFIG_WERROR=y configs/kernel-6.2.0-x86_64.config:CONFIG_WERROR=y configs/kernel-6.2.0-x86_64-debug.config:CONFIG_WERROR=y configs/kernel-6.2.0-x86_64-kgcov.config:CONFIG_WERROR=y ```