* [PATCH] firedtv: wrong types in printk
@ 2009-03-26 21:41 Alan Cox
2009-03-27 18:08 ` Stefan Richter
0 siblings, 1 reply; 2+ messages in thread
From: Alan Cox @ 2009-03-26 21:41 UTC (permalink / raw)
To: linux-kernel, mchehab
size_t is not int...
Signed-off-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
---
drivers/media/dvb/firewire/firedtv-avc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/dvb/firewire/firedtv-avc.c b/drivers/media/dvb/firewire/firedtv-avc.c
index b55d9cc..424ed5d 100644
--- a/drivers/media/dvb/firewire/firedtv-avc.c
+++ b/drivers/media/dvb/firewire/firedtv-avc.c
@@ -150,7 +150,7 @@ static void debug_fcp(const u8 *data, size_t length)
subunit_type = data[1] >> 3;
subunit_id = data[1] & 7;
op = subunit_type == 0x1e || subunit_id == 5 ? ~0 : data[2];
- printk(KERN_INFO "%ssu=%x.%x l=%d: %-8s - %s\n",
+ printk(KERN_INFO "%ssu=%x.%x l=%Zd: %-8s - %s\n",
prefix, subunit_type, subunit_id, length,
debug_fcp_ctype(data[0]),
debug_fcp_opcode(op, data, length));
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] firedtv: wrong types in printk
2009-03-26 21:41 [PATCH] firedtv: wrong types in printk Alan Cox
@ 2009-03-27 18:08 ` Stefan Richter
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Richter @ 2009-03-27 18:08 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel, mchehab
Alan Cox wrote:
> --- a/drivers/media/dvb/firewire/firedtv-avc.c
> +++ b/drivers/media/dvb/firewire/firedtv-avc.c
> @@ -150,7 +150,7 @@ static void debug_fcp(const u8 *data, size_t length)
> subunit_type = data[1] >> 3;
> subunit_id = data[1] & 7;
> op = subunit_type == 0x1e || subunit_id == 5 ? ~0 : data[2];
> - printk(KERN_INFO "%ssu=%x.%x l=%d: %-8s - %s\n",
> + printk(KERN_INFO "%ssu=%x.%x l=%Zd: %-8s - %s\n",
> prefix, subunit_type, subunit_id, length,
> debug_fcp_ctype(data[0]),
> debug_fcp_opcode(op, data, length));
This is already fixed in -next via linux1394-2.6.git. (1394 git pull
request follows later today.)
--
Stefan Richter
-=====-==--= --== ==-==
http://arcgraph.de/sr/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-27 18:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-26 21:41 [PATCH] firedtv: wrong types in printk Alan Cox
2009-03-27 18:08 ` Stefan Richter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®