projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3df152
)
modpost: use ALL_INIT_SECTIONS for the section check from DATA_SECTIONS
author
Masahiro Yamada
<masahiroy@kernel.org>
Sun, 22 Oct 2023 17:06:11 +0000
(
02:06
+0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Sat, 28 Oct 2023 12:31:22 +0000
(21:31 +0900)
ALL_INIT_SECTIONS is defined as follows:
#define ALL_INIT_SECTIONS INIT_SECTIONS, ALL_XXXINIT_SECTIONS
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/mod/modpost.c
patch
|
blob
|
history
diff --git
a/scripts/mod/modpost.c
b/scripts/mod/modpost.c
index f76ae0909ccd2b45c10cc1bff2d49a53f6e8c907..bc555ac5b47ca96d63b4303e1ab23c56cc379f8a 100644
(file)
--- a/
scripts/mod/modpost.c
+++ b/
scripts/mod/modpost.c
@@
-863,7
+863,7
@@
static const struct sectioncheck sectioncheck[] = {
},
{
.fromsec = { DATA_SECTIONS, NULL },
- .bad_tosec = { ALL_
XXXINIT_SECTIONS,
INIT_SECTIONS, NULL },
+ .bad_tosec = { ALL_INIT_SECTIONS, NULL },
.mismatch = DATA_TO_ANY_INIT,
},
{