diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2006-04-14 23:54:13 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-04-15 00:35:22 +0200 |
commit | 5ecdd0f67c624714ccd5358e1cc88324f86f0e10 (patch) | |
tree | 54ed2346bf1f4c85763fbd0622422c67679dfbc1 /include/linux/arcdevice.h | |
parent | b5ac4817de3032796c558b0a32062e7392b5ea60 (diff) |
kbuild: fix false section mismatch warnings
Darren Jenkins <darrenrjenkins@gmail.com> pointed out a
number of false positives where we referenced variables
from a _driver variable.
Fix it by check for that pattern and ignore it.
Randy.Dunlap <rdunlap@xenotime.net> pointed out a similar
set of warnings for a number of scsi drivers.
In scsi world they misname their variables *_template or
*_sht so add these to list of variables that may have references
to .init.text with no warning.
Randy.Dunlap <rdunlap@xenotime.net> also pointed out a scsi driver
with many references to .exit.text from .rodata. This is compiler
generated references and we already ignore these for .init.text, so
ignore them for .exit.text also.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'include/linux/arcdevice.h')
0 files changed, 0 insertions, 0 deletions