* [patch 1/8] iphase: fix 64bit warning
@ 2008-05-14 23:19 akpm
2008-05-14 23:42 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2008-05-14 23:19 UTC (permalink / raw)
To: davem; +Cc: netdev, akpm, alan, alan, chas, jeff
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
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 <alan@redhat.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: chas williams <chas@cmf.nrl.navy.mil>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/atm/iphase.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -puN drivers/atm/iphase.h~iphase-fix-64bit-warning drivers/atm/iphase.h
--- a/drivers/atm/iphase.h~iphase-fix-64bit-warning
+++ a/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 */
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 1/8] iphase: fix 64bit warning
2008-05-14 23:19 [patch 1/8] iphase: fix 64bit warning akpm
@ 2008-05-14 23:42 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-05-14 23:42 UTC (permalink / raw)
To: akpm; +Cc: netdev, alan, alan, chas, jeff
From: akpm@linux-foundation.org
Date: Wed, 14 May 2008 16:19:39 -0700
> From: Alan Cox <alan@lxorguk.ukuu.org.uk>
>
> 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 <alan@redhat.com>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Jeff Garzik <jeff@garzik.org>
> Cc: chas williams <chas@cmf.nrl.navy.mil>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: David S. Miller <davem@davemloft.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-14 23:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-14 23:19 [patch 1/8] iphase: fix 64bit warning akpm
2008-05-14 23:42 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).