netdev
[Top] [All Lists]

[PATCH][ATM]: [fore200e] fix warnings related to dma_addr_t

To: netdev@xxxxxxxxxxx
Subject: [PATCH][ATM]: [fore200e] fix warnings related to dma_addr_t
From: "chas williams (contractor)" <chas@xxxxxxxxxxxxxxxx>
Date: Thu, 23 Sep 2004 14:44:02 -0400
Cc: davem@xxxxxxxxxx
Reply-to: chas3@xxxxxxxxxxxxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
dave,

please apply to 2.6.

thanks!

# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
#   2004/09/23 10:50:50-04:00 chas@xxxxxxxxxxxxxxxxxxxxxx 
#   [ATM]: [fore200e] fix warnings related to dma_addr_t
# 
diff -Nru a/drivers/atm/fore200e.h b/drivers/atm/fore200e.h
--- a/drivers/atm/fore200e.h    2004-09-23 14:39:11 -04:00
+++ b/drivers/atm/fore200e.h    2004-09-23 14:39:11 -04:00
@@ -565,7 +565,7 @@
 typedef struct chunk {
     void* alloc_addr;    /* base address of allocated chunk */
     void* align_addr;    /* base address of aligned chunk   */
-    u32   dma_addr;      /* DMA address of aligned chunk    */
+    dma_addr_t dma_addr; /* DMA address of aligned chunk    */
     int   direction;     /* direction of DMA mapping        */
     u32   alloc_size;    /* length of allocated chunk       */
     u32   align_size;    /* length of aligned chunk         */

<Prev in Thread] Current Thread [Next in Thread>