From: Dave Jones Date: Thu, 10 Nov 2005 20:55:52 +0000 (-0800) Subject: [ATM]: [horizon] fix sparse warnings X-Git-Tag: v2.6.15-rc1~43^2~7 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b925556cc9e82b32ab68a7620b247f47193501a7;p=linux-2.6 [ATM]: [horizon] fix sparse warnings Signed-off-by: Dave Jones Signed-off-by: Chas Williams Signed-off-by: David S. Miller --- diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c index 0cded04680..821c81e8cd 100644 --- a/drivers/atm/horizon.c +++ b/drivers/atm/horizon.c @@ -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;