Skip to contentSkip to conversation

iphase: fix 64bit warning

PATCH In review [email protected] 2 participants 2 messages May 14, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

Cc "David S. Miller" <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc chas williams <[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
diff -puN drivers/atm/iphase.h~iphase-fix-64bit-warning drivers/atm/iphase.h
@@ -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 */  

_

maintainer Acked-by on v1 1/8
#1 lore raw

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_jif in the right sized object.

Cc "David S. Miller" <[email protected]>
Cc Jeff Garzik <[email protected]>
Cc chas williams <[email protected]>