[Toybox] [PATCH] modinfo: add scmversion to the list of tags
Daniel Mentz
danielmentz at google.com
Tue Sep 13 16:37:20 PDT 2022
The scmversion tag is used by the Android kernel to store the SCM
version of external modules. See
https://android-review.googlesource.com/c/kernel/common/+/1585247
---
toys/other/modinfo.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/toys/other/modinfo.c b/toys/other/modinfo.c
index 6c1e9392..e1a64ba6 100644
--- a/toys/other/modinfo.c
+++ b/toys/other/modinfo.c
@@ -44,6 +44,7 @@ static void modinfo_file(char *full_name)
char *buf = 0, *end, *modinfo_tags[] = {
"license", "author", "description", "firmware", "alias", "srcversion",
"depends", "retpoline", "intree", "name", "vermagic", "parm", "parmtype",
+ "scmversion",
};
if (-1 != (fd = open(full_name, O_RDONLY))) {
--
2.37.3.968.ga6b4b080e4-goog
More information about the Toybox
mailing list