diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-02-26 16:18:11 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-02-26 16:18:11 -0500 |
commit | 4c8fbca5836aaafd165aa8732d92ab5d4f3a6841 (patch) | |
tree | f4a9d7f73a92d540ebf4a53e36ed19d160e2a4de /scripts/gcc-version.sh | |
parent | cc006288fb538005a14ca4297250abbf0beeb0b9 (diff) |
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: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/gcc-version.sh')
0 files changed, 0 insertions, 0 deletions