ABI: stable/sysfs-module: document version and srcversion
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 27 Sep 2021 13:59:35 +0000 (15:59 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Sep 2021 10:48:14 +0000 (12:48 +0200)
Changeset c988d2b28454 ("[PATCH] modules: add version and srcversion to sysfs")
added version and srcversion ABI to modules. Document them.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Link: https://lore.kernel.org/r/82bc7ebcc56c68c39b0e9de89cd0e023339d0597.1632750608.git.mchehab+huawei@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/ABI/stable/sysfs-module

index 5c028af9921ab9631a38db5779225c6f6050a852..560b4a3278df0115ea04864657eec96c641b7b82 100644 (file)
@@ -33,3 +33,15 @@ Description:
                Note: If the module is built into the kernel, or if the
                CONFIG_MODULE_UNLOAD kernel configuration value is not enabled,
                this file will not be present.
+
+What:          /sys/module/<MODULENAME>/srcversion
+Date:          Jun 2005
+Description:
+               If the module source has MODULE_VERSION, this file will contain
+               the checksum of the the source code.
+
+What:          /sys/module/<MODULENAME>/version
+Date:          Jun 2005
+Description:
+               If the module source has MODULE_VERSION, this file will contain
+               the version of the source code.