Re: Section mismatch in reference from the function generic_NCR5380_isa_match()

From: Johannes Thumshirn
Date: Sat Oct 29 2016 - 12:34:36 EST


On Sat, Oct 29, 2016 at 12:12:21PM +0200, Borislav Petkov wrote:
> Hi,
>
> I'm seeing this during randconfig builds:
>
> WARNING: vmlinux.o(.text+0x1588439): Section mismatch in reference from the function generic_NCR5380_isa_match() to the function .init.text:probe_intr()
> The function generic_NCR5380_isa_match() references
> the function __init probe_intr().
> This is often because generic_NCR5380_isa_match lacks a __init
> annotation or the annotation of probe_intr is wrong.

There's already a fix for it from Arnd [1] which should be in Linus' tree
already.


[1] 77f18a871 ("scsi: NCR5380: no longer mark irq probing as __init")

Byte,
Johannes
--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850