Skip to content

Commit

Permalink
kbuild: introduce blacklisting in modpost
Browse files Browse the repository at this point in the history
Change the logic in modpost so we identify all the
bad combinations of sections that refer to other
sections.
Compared to the previous approach we are much less
dependent on knowledge of what additional sections
the tool chain uses and thus we can keep the false
positives low.

The implmentation is changed to use a table based
lookup and we now check all combinations in first
pass so we no longer need separate passes for init
and exit sections.

Tested that the same warnings are generated for
an allyesconfig build without CONFIG_HOTPLUG.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Adrian Bunk <bunk@kernel.org>
  • Loading branch information
Sam Ravnborg committed Jan 28, 2008
1 parent 5b24c07 commit 1066822
Showing 1 changed file with 128 additions and 177 deletions.
Loading

0 comments on commit 1066822

Please sign in to comment.