From: Mauro Carvalho Chehab Date: Mon, 27 Sep 2021 13:59:35 +0000 (+0200) Subject: ABI: stable/sysfs-module: document version and srcversion X-Git-Tag: howlett/maple/20220722_2~1919^2~56 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=19aca231250f532b315ccbc22ff5125be292aed4;p=users%2Fjedix%2Flinux-maple.git ABI: stable/sysfs-module: document version and srcversion 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 Link: https://lore.kernel.org/r/82bc7ebcc56c68c39b0e9de89cd0e023339d0597.1632750608.git.mchehab+huawei@kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/ABI/stable/sysfs-module b/Documentation/ABI/stable/sysfs-module index 5c028af9921a..560b4a3278df 100644 --- a/Documentation/ABI/stable/sysfs-module +++ b/Documentation/ABI/stable/sysfs-module @@ -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//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//version +Date: Jun 2005 +Description: + If the module source has MODULE_VERSION, this file will contain + the version of the source code.