• Vivek Goyal's avatar
    [PATCH] x86-64: pci quirks MODPOST warning fix · 9d24a81e
    Vivek Goyal authored
    o MODPOST generates warnings for i386 if kernel is compiled with
      CONFIG_RELOCATABLE=y
    
    WARNING: vmlinux - Section mismatch: reference to .init.data: from .text between 'asus_hides_smbus_lpc_ich6' (at offset 0xc0217d58) and 'quirk_cardbus_legacy'
    WARNING: vmlinux - Section mismatch: reference to .init.data: from .text between 'asus_hides_smbus_lpc' (at offset 0xc0217fd9) and 'pci_match_id'
    
    o Two quirk functions which are non __init, are accessing data which is
      of type __init.
    Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    9d24a81e
quirks.c 60.7 KB