diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 19:21:02 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-04-27 19:21:02 -0400 |
commit | 940155309cd037d3a49ad01276e591b872e8a832 (patch) | |
tree | 209d660d00d5e8bb2b74c8e529a8ec4ced411e26 | |
parent | 42fae7fb1c27d230fbd48aa055a4ae6796fb0039 (diff) | |
parent | e1f2a094bdfa8e7ecc31f048e6c6dbea2b4f5f74 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SCSI] esp_scsi.c: Fix compilation.
-rw-r--r-- | drivers/scsi/esp_scsi.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/scsi/esp_scsi.c b/drivers/scsi/esp_scsi.c index 3cd5bf723da4..99ce03331b64 100644 --- a/drivers/scsi/esp_scsi.c +++ b/drivers/scsi/esp_scsi.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/module.h> | 13 | #include <linux/module.h> |
14 | #include <linux/moduleparam.h> | 14 | #include <linux/moduleparam.h> |
15 | #include <linux/init.h> | 15 | #include <linux/init.h> |
16 | #include <linux/irqreturn.h> | ||
16 | 17 | ||
17 | #include <asm/irq.h> | 18 | #include <asm/irq.h> |
18 | #include <asm/io.h> | 19 | #include <asm/io.h> |
@@ -1706,17 +1707,17 @@ again: | |||
1706 | if (!dma_len) { | 1707 | if (!dma_len) { |
1707 | printk(KERN_ERR PFX "esp%d: DMA length is zero!\n", | 1708 | printk(KERN_ERR PFX "esp%d: DMA length is zero!\n", |
1708 | esp->host->unique_id); | 1709 | esp->host->unique_id); |
1709 | printk(KERN_ERR PFX "esp%d: cur adr[%08x] len[%08x]\n", | 1710 | printk(KERN_ERR PFX "esp%d: cur adr[%08llx] len[%08x]\n", |
1710 | esp->host->unique_id, | 1711 | esp->host->unique_id, |
1711 | esp_cur_dma_addr(ent, cmd), | 1712 | (unsigned long long)esp_cur_dma_addr(ent, cmd), |
1712 | esp_cur_dma_len(ent, cmd)); | 1713 | esp_cur_dma_len(ent, cmd)); |
1713 | esp_schedule_reset(esp); | 1714 | esp_schedule_reset(esp); |
1714 | return 0; | 1715 | return 0; |
1715 | } | 1716 | } |
1716 | 1717 | ||
1717 | esp_log_datastart("ESP: start data addr[%08x] len[%u] " | 1718 | esp_log_datastart("ESP: start data addr[%08llx] len[%u] " |
1718 | "write(%d)\n", | 1719 | "write(%d)\n", |
1719 | dma_addr, dma_len, write); | 1720 | (unsigned long long)dma_addr, dma_len, write); |
1720 | 1721 | ||
1721 | esp->ops->send_dma_cmd(esp, dma_addr, dma_len, dma_len, | 1722 | esp->ops->send_dma_cmd(esp, dma_addr, dma_len, dma_len, |
1722 | write, ESP_CMD_DMA | ESP_CMD_TI); | 1723 | write, ESP_CMD_DMA | ESP_CMD_TI); |