* [PATCH] dvb: fix printk format warning
@ 2006-01-18 5:14 Randy.Dunlap
2006-01-22 21:03 ` Michael Krufky
0 siblings, 1 reply; 2+ messages in thread
From: Randy.Dunlap @ 2006-01-18 5:14 UTC (permalink / raw)
To: lkml; +Cc: akpm, linux-dvb-maintainer, mchehab
From: Randy Dunlap <rdunlap@xenotime.net>
Fix printk type warning:
drivers/media/dvb/b2c2/flexcop-pci.c:164: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
drivers/media/dvb/b2c2/flexcop-pci.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
--- linux-2616-rc1.orig/drivers/media/dvb/b2c2/flexcop-pci.c
+++ linux-2616-rc1/drivers/media/dvb/b2c2/flexcop-pci.c
@@ -161,8 +161,10 @@ static irqreturn_t flexcop_pci_isr(int i
fc->read_ibi_reg(fc,dma1_008).dma_0x8.dma_cur_addr << 2;
u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0;
- deb_irq("%u irq: %08x cur_addr: %08x: cur_pos: %08x, last_cur_pos: %08x ",
- jiffies_to_usecs(jiffies - fc_pci->last_irq),v.raw,cur_addr,cur_pos,fc_pci->last_dma1_cur_pos);
+ deb_irq("%u irq: %08x cur_addr: %llx: cur_pos: %08x, last_cur_pos: %08x ",
+ jiffies_to_usecs(jiffies - fc_pci->last_irq),
+ v.raw, (unsigned long long)cur_addr, cur_pos,
+ fc_pci->last_dma1_cur_pos);
fc_pci->last_irq = jiffies;
/* buffer end was reached, restarted from the beginning
---
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] dvb: fix printk format warning
2006-01-18 5:14 [PATCH] dvb: fix printk format warning Randy.Dunlap
@ 2006-01-22 21:03 ` Michael Krufky
0 siblings, 0 replies; 2+ messages in thread
From: Michael Krufky @ 2006-01-22 21:03 UTC (permalink / raw)
To: Randy.Dunlap; +Cc: lkml, akpm, linux-dvb-maintainer, mchehab
Randy.Dunlap wrote:
> From: Randy Dunlap <rdunlap@xenotime.net>
>
> Fix printk type warning:
> drivers/media/dvb/b2c2/flexcop-pci.c:164: warning: format '%08x' expects type 'unsigned int', but argument 4 has type 'dma_addr_t'
>
> Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
I've applied this to our cvs tree. Thanks, Randy.
Mauro, please apply this to v4l-dvb.git with your next push.
Regards,
Michael
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-22 21:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-18 5:14 [PATCH] dvb: fix printk format warning Randy.Dunlap
2006-01-22 21:03 ` Michael Krufky
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).