public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 01/17] git-scsi-misc: arcmsr build fix
@ 2007-10-02 21:37 akpm
  2007-10-02 22:03 ` James Bottomley
  2007-10-05 19:07 ` Andrew Morton
  0 siblings, 2 replies; 6+ messages in thread
From: akpm @ 2007-10-02 21:37 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, akpm

From: Andrew Morton <akpm@linux-foundation.org>

drivers/scsi/arcmsr/arcmsr_hba.c:129: error: 'arcmsr_pci_error_detected' undeclared here (not in a function)
drivers/scsi/arcmsr/arcmsr_hba.c:130: error: 'arcmsr_pci_slot_reset' undeclared here (not in a function)

Cc: James Bottomley <James.Bottomley@steeleye.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/scsi/arcmsr/arcmsr_hba.c |    4 ++++
 1 file changed, 4 insertions(+)

diff -puN drivers/scsi/arcmsr/arcmsr_hba.c~git-scsi-misc-arcmsr-build-fix drivers/scsi/arcmsr/arcmsr_hba.c
--- a/drivers/scsi/arcmsr/arcmsr_hba.c~git-scsi-misc-arcmsr-build-fix
+++ a/drivers/scsi/arcmsr/arcmsr_hba.c
@@ -125,6 +125,10 @@ static struct scsi_host_template arcmsr_
 	.shost_attrs		= arcmsr_host_attrs,
 };
 #ifdef CONFIG_SCSI_ARCMSR_AER
+static pci_ers_result_t arcmsr_pci_slot_reset(struct pci_dev *pdev);
+static pci_ers_result_t arcmsr_pci_error_detected(struct pci_dev *pdev,
+						pci_channel_state_t state);
+
 static struct pci_error_handlers arcmsr_pci_error_handlers = {
 	.error_detected		= arcmsr_pci_error_detected,
 	.slot_reset		= arcmsr_pci_slot_reset,
_

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-05 21:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-02 21:37 [patch 01/17] git-scsi-misc: arcmsr build fix akpm
2007-10-02 22:03 ` James Bottomley
2007-10-05 19:07 ` Andrew Morton
2007-10-05 20:49   ` James Bottomley
2007-10-05 21:04     ` Andrew Morton
2007-10-05 21:16       ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox