Re: [PATCH] scsi/initio: section mismatches with HOTPLUG=n

James Bottomley
2006-11-24T22:51:51Z

On Sun, 2006-11-19 at 18:53 -0800, Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> WARNING: drivers/scsi/initio.o - Section mismatch: reference to .init.data: from .text between 'i91u_detect' (at offset 0x26e8) and 'i91uSCBPost'
> WARNING: drivers/scsi/initio.o - Section mismatch: reference to .init.data:i91u_pci_devices from .text between 'i91u_detect' (at offset 0x26ef) and 'i91uSCBPost'

Hmm, this apparently got into the tree unreviewed via Ben Collins:

commit 012887327875915f76a6208e81fe0d67a682ec15
Author: Ben Collins <bcollins@ubuntu.com>
Date: Wed Oct 18 08:40:57 2006 -0400

[initio] Add pci dev table for module auto loading.

Signed-off-by: Ben Collins <bcollins@ubuntu.com>

Ben, for future reference, would you send SCSI patches over the SCSI
list, please. Secondly, do you intend to complete this change? What
Randy proposes will restore the driver to its original state. However,
it could also be fixed properly by adding __devinit to all the relevant
PCI initialisation routines, which would be preferable.

James