[PATCH 398] Atari Pamsnet warning

From: Geert Uytterhoeven
Date: Fri Feb 20 2004 - 09:00:15 EST


Atari Pamsnet Ethernet: Kill warning

--- linux-2.6.3/drivers/net/atari_pamsnet.c 2003-07-29 18:18:57.000000000 +0200
+++ linux-m68k-2.6.3/drivers/net/atari_pamsnet.c 2003-11-24 13:36:07.000000000 +0100
@@ -488,7 +488,7 @@
!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);

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/