]> www.infradead.org Git - users/hch/configfs.git/commit
modpost: simplify modpost_log()
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 16 Aug 2024 13:44:29 +0000 (22:44 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 1 Sep 2024 11:34:50 +0000 (20:34 +0900)
commit4079fe8e7b2b42b278e77dae7cb9d95e62c415a2
treeea85c2f287d2998641165559e764e17ea3979613
parent5b000f3cbb38c23992ee95fcd3e983ca66164eff
modpost: simplify modpost_log()

With commit cda5f94e88b4 ("modpost: avoid using the alias attribute"),
only two log levels remain: LOG_WARN and LOG_ERROR. Simplify this by
making it a boolean variable.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
scripts/mod/modpost.c
scripts/mod/modpost.h