Skip to contentSkip to conversation

your mail

DISCUSSION [email protected] 1 participant 1 message Jan 13, 2010 1 message not in the archive SCSI

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 17 lines · Jeff Mahoney

Subject: [patch 5/6] hpsa: Fix section mismatch
References: <[email protected]>
Content-Disposition: inline; filename=patches.rpmify/hpsa-fix-section-mismatch

hpsa_pci_init calls hpsa_interrupt_mode which is a __devinit function. hpsa_pci_init is only called by hpsa_init_one which is also __devinit, so mark it __devinit as well.

---
 drivers/scsi/hpsa.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

drivers/scsi/hpsa.c default_int_mode: · line 3117

Quoted 8 lines
drivers/scsi/hpsa.c +1 -1
@@ -3111,7 +3111,7 @@ default_int_mode:
 	return;
 }
 
-static int hpsa_pci_init(struct ctlr_info *h, struct pci_dev *pdev)
+static int __devinit hpsa_pci_init(struct ctlr_info *h, struct pci_dev *pdev)
 {
 	ushort subsystem_vendor_id, subsystem_device_id, command;
 	__u32 board_id, scratchpad = 0;

Thanks.

-- steve