]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ATM]: [horizon] fix sparse warnings
authorDave Jones <davej@redhat.com>
Thu, 10 Nov 2005 20:55:52 +0000 (12:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Nov 2005 20:55:52 +0000 (12:55 -0800)
Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Chas Williams <cmas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/horizon.c

index 0cded04680033a95c1cd93ad9ce771d7112651e1..821c81e8cd38bb892cf16094a0135a5fd911dbcb 100644 (file)
@@ -1511,8 +1511,8 @@ static inline short setup_idle_tx_channel (hrz_dev * dev, hrz_vcc * vcc) {
     // a.k.a. prepare the channel and remember that we have done so.
     
     tx_ch_desc * tx_desc = &memmap->tx_descs[tx_channel];
-    u16 rd_ptr;
-    u16 wr_ptr;
+    u32 rd_ptr;
+    u32 wr_ptr;
     u16 channel = vcc->channel;
     
     unsigned long flags;