[PATCH 398] Atari Pamsnet warning

From: Geert Uytterhoeven (geert_at_linux-m68k.org)
Date: 02/20/04

  • Next message: Michael Frank: "Re: recommended "stable" compiler?"
    Date:	Fri, 20 Feb 2004 13:46:41 +0100
    To: Linus Torvalds <torvalds@osdl.org>, Andrew Morton <akpm@osdl.org>
    
    

    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@linux-m68k.org
    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@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Michael Frank: "Re: recommended "stable" compiler?"

    Relevant Pages

    • [PATCH 392] M68k mm init warning
      ... In personal conversations with technical people, I call myself a hacker. ... when I'm talking to journalists I just say "programmer" or something like that. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 320] Macintosh CS89x0 Ethernet is broken
      ... In personal conversations with technical people, I call myself a hacker. ... when I'm talking to journalists I just say "programmer" or something like that. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 415] M68k core spelling
      ... In personal conversations with technical people, I call myself a hacker. ... when I'm talking to journalists I just say "programmer" or something like that. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 412] M68k FPU emu broken link
      ... In personal conversations with technical people, I call myself a hacker. ... when I'm talking to journalists I just say "programmer" or something like that. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH 342] M68k head comments
      ... In personal conversations with technical people, I call myself a hacker. ... when I'm talking to journalists I just say "programmer" or something like that. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)