Search Linux Wireless

Re: [PATCH] ssb: add __devinit to some functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/21/2011 08:38 PM, John W. Linville wrote:
> On Tue, Jun 21, 2011 at 08:28:09PM +0200, Hauke Mehrtens wrote:
>> Two functions in ssb are using register_pci_controller() which is
>> __devinit. The functions ssb_pcicore_init_hostmode() and
>> ssb_gige_probe() should also be __devinit.
>>
>> This fixes the following warning:
>> WARNING: vmlinux.o(.text+0x2727b8): Section mismatch in reference from the function ssb_pcicore_init_hostmode() to the function .devinit.text:register_pci_controller()
>> The function ssb_pcicore_init_hostmode() references
>> the function __devinit register_pci_controller().
>> This is often because ssb_pcicore_init_hostmode lacks a __devinit
>> annotation or the annotation of register_pci_controller is wrong.
>>
>> WARNING: vmlinux.o(.text+0x273398): Section mismatch in reference from the function ssb_gige_probe() to the function .devinit.text:register_pci_controller()
>> The function ssb_gige_probe() references
>> the function __devinit register_pci_controller().
>> This is often because ssb_gige_probe lacks a __devinit
>> annotation or the annotation of register_pci_controller is wrong.
>>
>> Reported-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx>
> 
> Signed-off-by??
> 

Ops missing, will resend both patches.

Hauke
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux