Re: [PATCH v5] modules: introduce the MODULE_SCMVERSION config

From: Christoph Hellwig
Date: Wed Jan 20 2021 - 09:58:02 EST


On Fri, Jan 08, 2021 at 12:30:35AM +0000, Will McVicker wrote:
> For example, we have a CI setup that tests new kernel changes on the
> hikey960 and db845c devices without updating their kernel modules. When
> these tests fail, we need to be able to identify the exact device
> configuration the test was using. By including MODULE_SCMVERSION, we can
> identify the exact kernel and modules' SCM versions for debugging the
> failures.

Sorry, but this still has no business in the upstream kernel as every
change to the kernel is free to just change any API. That is whatever
you test there is a completely unsupported setup.

More importantly the "scmversion" of a module simply does not matter,
as we only support modules from the kernel tree and it thus must be the
kernel version.
be supported.

You are still trying to sneak out of tree module infrastructure in here
with a bad cover story. Please stop doing that.