]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
bpf: preload: Add MODULE_DESCRIPTION
authorArnd Bergmann <arnd@arndb.de>
Mon, 10 Mar 2025 13:49:16 +0000 (14:49 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 15 Mar 2025 18:48:58 +0000 (11:48 -0700)
Modpost complains when extra warnings are enabled:

WARNING: modpost: missing MODULE_DESCRIPTION() in kernel/bpf/preload/bpf_preload.o

Add a description from the Kconfig help text.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20250310134920.4123633-1-arnd@kernel.org
----
Not sure if that description actually fits what the module does. If not,
please add a different description instead.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/preload/bpf_preload_kern.c

index 0c63bc2cd895a2e5c5b8e6199dae4a9e041a095b..2fdf3c978db1bdcb596a399d69059531fcead2c1 100644 (file)
@@ -90,3 +90,4 @@ static void __exit fini(void)
 late_initcall(load);
 module_exit(fini);
 MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("Embedded BPF programs for introspection in bpffs");