summaryrefslogtreecommitdiff
path: root/scripts/mod
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2024-06-10 11:20:16 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2024-06-10 11:20:16 +0300
commit8f79b09bbe69fc5cd25652e8afcc77e2f2984aab (patch)
treea0d2ff2f5becdd8df6fcf4584ca75cc4a6cfed0a /scripts/mod
parent1aea3d1d4a21e3e7895663b848ffae79ee82e065 (diff)
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670 (diff)
downloadlinux-8f79b09bbe69fc5cd25652e8afcc77e2f2984aab.tar.xz
Merge tag 'v6.10-rc3'
Linux 6.10-rc3 This is needed for the ipu6 and mei fixes. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'scripts/mod')
-rw-r--r--scripts/mod/modpost.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c
index 937294ff164f..f48d72d22dc2 100644
--- a/scripts/mod/modpost.c
+++ b/scripts/mod/modpost.c
@@ -1647,10 +1647,11 @@ static void read_symbols(const char *modname)
namespace = get_next_modinfo(&info, "import_ns",
namespace);
}
+
+ if (extra_warn && !get_modinfo(&info, "description"))
+ warn("missing MODULE_DESCRIPTION() in %s\n", modname);
}
- if (extra_warn && !get_modinfo(&info, "description"))
- warn("missing MODULE_DESCRIPTION() in %s\n", modname);
for (sym = info.symtab_start; sym < info.symtab_stop; sym++) {
symname = remove_dot(info.strtab + sym->st_name);