Commit 94015530 authored by Linus Torvalds's avatar Linus Torvalds

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.
parents 42fae7fb e1f2a094
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/irqreturn.h>
#include <asm/irq.h> #include <asm/irq.h>
#include <asm/io.h> #include <asm/io.h>
...@@ -1706,17 +1707,17 @@ again: ...@@ -1706,17 +1707,17 @@ again:
if (!dma_len) { if (!dma_len) {
printk(KERN_ERR PFX "esp%d: DMA length is zero!\n", printk(KERN_ERR PFX "esp%d: DMA length is zero!\n",
esp->host->unique_id); esp->host->unique_id);
printk(KERN_ERR PFX "esp%d: cur adr[%08x] len[%08x]\n", printk(KERN_ERR PFX "esp%d: cur adr[%08llx] len[%08x]\n",
esp->host->unique_id, esp->host->unique_id,
esp_cur_dma_addr(ent, cmd), (unsigned long long)esp_cur_dma_addr(ent, cmd),
esp_cur_dma_len(ent, cmd)); esp_cur_dma_len(ent, cmd));
esp_schedule_reset(esp); esp_schedule_reset(esp);
return 0; return 0;
} }
esp_log_datastart("ESP: start data addr[%08x] len[%u] " esp_log_datastart("ESP: start data addr[%08llx] len[%u] "
"write(%d)\n", "write(%d)\n",
dma_addr, dma_len, write); (unsigned long long)dma_addr, dma_len, write);
esp->ops->send_dma_cmd(esp, dma_addr, dma_len, dma_len, esp->ops->send_dma_cmd(esp, dma_addr, dma_len, dma_len,
write, ESP_CMD_DMA | ESP_CMD_TI); write, ESP_CMD_DMA | ESP_CMD_TI);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment