After https://github.com/llvm/llvm-project/commit/fd11cf430e5a9fd11f93bdcc929a1ce8dfa60f37 (https://github.com/llvm/llvm-project/commit/fd11cf430e5a9fd11f93bdcc929a1ce8dfa60f37 split the warning out from `-Wunused-but-set-variable` into `-Wunused-but-set-global`): ``` scripts/mod/modpost.c:59:13: error: variable 'extra_warn' set but not used [-Werror,-Wunused-but-set-global] 59 | static bool extra_warn; | ^ ``` I submitted https://lore.kernel.org/20260325-modpost-extra_warn-unused-but-set-global-v1-1-2e84003b7e81@kernel.org/.
After llvm/llvm-project@fd11cf4 (llvm/llvm-project@fd11cf4 split the warning out from
-Wunused-but-set-variableinto-Wunused-but-set-global):I submitted https://lore.kernel.org/20260325-modpost-extra_warn-unused-but-set-global-v1-1-2e84003b7e81@kernel.org/.