public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* modpost warning by default on missing Module.symvers
@ 2023-01-09 20:45 William McVicker
  2023-01-10  6:50 ` Masahiro Yamada
  0 siblings, 1 reply; 5+ messages in thread
From: William McVicker @ 2023-01-09 20:45 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: linux-kbuild, kernel-team

Hi Masahiro,

I recently noticed that in commit 4475dff55c54 ("kbuild: fix false-positive
modpost warning when all symbols are trimmed") [1] you modified the modpost
behavior to always warn (by passing `-w`) when there are missing Module.symver
files in order to allow module builds to continue building with warnings
instead of errors. I'm curious why you decided to not continue to rely on
KBUILD_MODPOST_WARN to enable/disable that functionality?

I personally find it useful to keep these types of warnings as errors in order
to catch missing dependencies at build time (ideally by the CI build) instead
of at runtime when a module fails to load due to a missing symbol dependency.

Let me know your thoughts on this and I'll try to come up with a solution to
factor in any concerns you have.

Thanks,
Will

[1] https://lore.kernel.org/all/20210325185412.2352951-3-masahiroy@kernel.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-17 22:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-09 20:45 modpost warning by default on missing Module.symvers William McVicker
2023-01-10  6:50 ` Masahiro Yamada
2023-01-10 18:43   ` William McVicker
2023-01-11  5:34     ` Masahiro Yamada
2023-01-17 21:51       ` William McVicker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox