atm/idt77252: correct printk of dma_addr_t
Subsystems (3)
PATCH 1/1 atm/idt77252: correct printk of dma_addr_t
description: fix dma_addr_t type error with CONFIG_HIGHMEM64G=y;product_versions: linux-262-rc3
diffstat:=
drivers/atm/idt77252.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/atm/idt77252.c renamed from drivers/atm/idt77252.c~idt_dma +2 -2
@@ -664,8 +664,8 @@ alloc_scq(struct idt77252_dev *card, intskb_queue_head_init (&scq->transmit);skb_queue_head_init (&scq->pending); -TXPRINTK ("idt77252: SCQ: base 0x%p, next 0x%p, last 0x%p, paddr %08x\n" , - scq->base, scq->next, scq->last, scq->paddr); +TXPRINTK ("idt77252: SCQ: base 0x%p, next 0x%p, last 0x%p, paddr %08llx\n" , + scq->base, scq->next, scq->last, (unsigned long long )scq->paddr);return scq; }
--
~Randy
dave, please apply the following to the 2.6 and 2.4 trees.
thanks!
# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1549 -> 1.1550
# drivers/atm/idt77252.c 1.21 -> 1.22
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 04/02/04 [email protected] 1.1550
# [ATM]: [idt77252] fix dma_addr_t type error with CONFIG_HIGHMEM64G=y (by "Randy.Dunlap" <[email protected]>) # --------------------------------------------
#
drivers/atm/idt77252.c +2 -2
@@ -664,8 +664,8 @@skb_queue_head_init (&scq->transmit);skb_queue_head_init (&scq->pending); -TXPRINTK ("idt77252: SCQ: base 0x%p, next 0x%p, last 0x%p, paddr %08x\n" , - scq->base, scq->next, scq->last, scq->paddr); +TXPRINTK ("idt77252: SCQ: base 0x%p, next 0x%p, last 0x%p, paddr %08llx\n" , + scq->base, scq->next, scq->last, (unsigned long long )scq->paddr);return scq; }
Quoted 1 line · On Wed, 04 Feb 2004 14:05:00 -0500 chas williams (contractor)…
dave, please apply the following to the 2.6 and 2.4 trees.
Done, thanks Randy/Chas.