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

kbuild: whitelist false section mismatch warnings


In several cases the section mismatch check triggered false warnings.
Following patch introduce a whitelist to 'false positives' are not warned of.
Two types of patterns are recognised:
1) Typical case when a module parameter is _initdata
2) When a function pointer is assigned to a driver structure

In both patterns we rely on the actual name of the variable assigned

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent cc006288
No related branches found
No related tags found
No related merge requests found
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