From 97100fe6de01ef823043cb8242afb4aa24a458b6 Mon Sep 17 00:00:00 2001 From: Daniel Mentz Date: Tue, 13 Sep 2022 16:37:20 -0700 Subject: [PATCH] modinfo: add scmversion to the list of tags 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.39.2