Re: [PATCH] module: remove MODULE_VERSION()

From: Christoph Hellwig

Date: Mon Mar 16 2026 - 05:01:46 EST


On Sat, Mar 14, 2026 at 11:22:22AM +0100, Christophe Leroy (CS GROUP) wrote:
> > Sami just pointed out to me off-list that maybe I should also drop the
> > srcversion stuff too. I'll gladly do that too, does anyone know if
> > anyone even uses that anymore?
>
> If I understand correctly the text in kernel/module/Kconfig, srcversion is
> added only for modules which contain a MODULE_VERSION.
>
> So as you drop MODULE_VERSION, srcversion becomes completely useless doesn't
> it ?

Looks like it.