OpenCloudOS-Kernel/scripts/mod
Masahiro Yamada 6797259d9b modpost: do not warn about missing MODULE_DESCRIPTION() for vmlinux.o
[ Upstream commit 9185afeac2a3dcce8300a5684291a43c2838cfd6 ]

Building with W=1 incorrectly emits the following warning:

  WARNING: modpost: missing MODULE_DESCRIPTION() in vmlinux.o

This check should apply only to modules.

Fixes: 1fffe7a34c ("script: modpost: emit a warning when the description is missing")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-06-21 14:38:32 +02:00
..
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Makefile modpost: Optimize symbol search from linear to binary search 2024-04-10 16:35:47 +02:00
devicetable-offsets.c vfio/cdx: add support for CDX bus 2023-06-16 12:27:04 -06:00
empty.c
file2alias.c modpost: fix ishtp MODULE_DEVICE_TABLE built on big-endian host 2023-11-20 11:59:28 +01:00
list.h modpost: import include/linux/list.h 2022-05-08 03:17:00 +09:00
mk_elfconfig.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
modpost.c modpost: do not warn about missing MODULE_DESCRIPTION() for vmlinux.o 2024-06-21 14:38:32 +02:00
modpost.h modpost: Optimize symbol search from linear to binary search 2024-04-10 16:35:47 +02:00
sumversion.c modpost: trim leading spaces when processing source files list 2024-02-23 09:24:59 +01:00
symsearch.c modpost: Optimize symbol search from linear to binary search 2024-04-10 16:35:47 +02:00