diff options
author | Sebastian Andrzej Siewior <sebastian@breakpoint.cc> | 2012-06-03 20:48:17 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-06-16 12:44:30 -0600 |
commit | bb15d8db7cce766b62cab624120916d25e94ac7a (patch) | |
tree | bc8e4ff510770606aab3a54d27ada7fe7b90072d /drivers/hid/hid-waltop.c | |
parent | 1359bac229637cd9e317f6069e5fb3544d64b7ca (diff) | |
download | linux-bb15d8db7cce766b62cab624120916d25e94ac7a.tar.gz linux-bb15d8db7cce766b62cab624120916d25e94ac7a.tar.bz2 linux-bb15d8db7cce766b62cab624120916d25e94ac7a.zip |
scripts/modpost: check for bad references in .pci.fixups area
Functions used for PCI fixups (like DECLARE_PCI_FIXUP_HEADER) are often
marked __init. This is okay as long as nobody is using PCI hotplug.
However if one does execute
| echo 1 > /sys/bus/pci/rescan
and we hit a module which is marked __init istead of __devinit then we
go boom because the code is removed after the kernel booted. This patch
help to see those section mismatches.
Cc: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org
Cc: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/hid/hid-waltop.c')
0 files changed, 0 insertions, 0 deletions