From: Sam Ravnborg Date: Fri, 14 Apr 2006 21:54:13 +0000 (+0200) Subject: kbuild: fix false section mismatch warnings X-Git-Tag: v2.6.17-rc2~27^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ecdd0f67c624714ccd5358e1cc88324f86f0e10;p=pandora-kernel.git kbuild: fix false section mismatch warnings Darren Jenkins 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 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 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 --- Reading git-diff-tree failed