Linus pointed out in the submission that the construction of the kernel should not cause any compiler warnings. At the same time, this patch adds WERROR as a Kconfig switch, which controls whether to enable the “-Werror” flag, which is turned on by default. However, if the new compiler version introduces new warnings and the kernel cannot fix them immediately, you can also disable the “-Werror” flag at this time.
Finally, Linus expressed the hope that this feature can reduce the pull requests it receives because many of these requests are warnings that have not been noticed by the automated process.