iphase: fix 64bit warning
Subsystems (3)
PATCH 1/8 iphase: fix 64bit warning
From: Alan Cox <[email protected]>
Time is unsigned long (except when you are in a hurry) so we need to store rx_tmp_jif in the right sized object.
Signed-off-by Alan Cox <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc chas williams <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/atm/iphase.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/atm/iphase.h renamed from drivers/atm/iphase.h~iphase-fix-64bit-warning +2 -1
@@ -1025,7 +1025,8 @@ typedef struct iadev_t {spinlock_t rx_lock, misc_lock;struct atm_vcc **rx_open;/* list of all open VCs */ u16 num_rx_desc, rx_buf_sz, rxing; -u32 rx_pkt_ram, rx_tmp_cnt, rx_tmp_jif; +u32 rx_pkt_ram, rx_tmp_cnt; +unsigned long rx_tmp_jif;void __iomem *RX_DESC_BASE_ADDR ;u32 drop_rxpkt, drop_rxcell, rx_cell_cnt, rx_pkt_cnt;struct atm_dev *next_board;/* other iphase devices */
_
From: [email protected]
Date: Wed, 14 May 2008 16:19:39 -0700
Quoted 10 lines
From: Alan Cox <[email protected]>
Time is unsigned long (except when you are in a hurry) so we need to store
rx_tmp_jifin the right sized object.Signed-off-by Alan Cox <[email protected]>Cc "David S. Miller" <[email protected]>Cc Jeff Garzik <[email protected]>Cc chas williams <[email protected]>Signed-off-by Andrew Morton <[email protected]>
Acked-by David S. Miller <[email protected]>