Commit dd6143d3 authored by Andrew Morton's avatar Andrew Morton Committed by Jeff Garzik

[PATCH] m68k: Atari Pamsnet warning

From: Geert Uytterhoeven <geert@linux-m68k.org>

Atari Pamsnet Ethernet: Kill warning
parent e201e7b0
......@@ -484,7 +484,7 @@ static HADDR
!acsi_wait_for_IRQ(TIMEOUTDMA) ||
get_status())
goto bad;
ret = phys_to_virt(&(((DMAHWADDR *)buffer)->hwaddr));
ret = phys_to_virt((unsigned long)&(((DMAHWADDR *)buffer)->hwaddr));
dma_cache_maintenance((unsigned long)buffer, 512, 0);
bad:
return (ret);
......
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