projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b308e
)
[libata sata_mv] fix warning
author
Jeff Garzik
<jgarzik@pobox.com>
Wed, 5 Oct 2005 21:19:47 +0000
(17:19 -0400)
committer
Jeff Garzik
<jgarzik@pobox.com>
Wed, 5 Oct 2005 21:19:47 +0000
(17:19 -0400)
shuffle ifdef location to fix the following warning:
drivers/scsi/sata_mv.c:471: warning: 'mv_dump_mem' defined but not used
drivers/scsi/sata_mv.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sata_mv.c
b/drivers/scsi/sata_mv.c
index 84b488f81c756bc45d720ba2a3357e31be0f793e..d457f5673476890732aa3f7d39adadf832dcc6f0 100644
(file)
--- a/
drivers/scsi/sata_mv.c
+++ b/
drivers/scsi/sata_mv.c
@@
-467,9
+467,9
@@
static void mv_stop_dma(struct ata_port *ap)
}
}
+#ifdef ATA_DEBUG
static void mv_dump_mem(void __iomem *start, unsigned bytes)
{
-#ifdef ATA_DEBUG
int b, w;
for (b = 0; b < bytes; ) {
DPRINTK("%p: ", start + b);
@@
-479,8
+479,9
@@
static void mv_dump_mem(void __iomem *start, unsigned bytes)
}
printk("\n");
}
-#endif
}
+#endif
+
static void mv_dump_pci_cfg(struct pci_dev *pdev, unsigned bytes)
{
#ifdef ATA_DEBUG