Skip to content
Snippets Groups Projects
Commit 83cda2bb authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: be more foregiving on init section naming


In the whitelist function of modpost now use the same
check to identify init_section as in other places of modpost.
This has the effect that we now recognize sections named
.init.text.19 as init sections and we no longer warn
when we see these.

At the same time make surrounding code readable by dropping
use of temporary flags.

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 2f5ee619
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment