Skip to contentSkip to conversation

Section mismatch in reference from the function generic_NCR5380_isa_match()

DISCUSSION Borislav Petkov 2 participants 2 messages Oct 29, 2016 SCSI

lore
Share & tools
lore
#0 lore raw

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.

Signature · 4 lines
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
#1 lore raw
Quoted 9 lines · Borislav Petkov

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

Signature · 6 lines
Johannes Thumshirn                                          Storage
[email protected]                                +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