diff options
author | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-05 13:13:43 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2009-03-24 15:56:54 -0400 |
commit | 40cf65d149053889c8876c6c2b4ce204fde55baa (patch) | |
tree | e981bf27535f7d8466de26a4f5e214418b67488c /drivers/media/dvb | |
parent | c64094684dad4a903099f1ff83b7db9b62782adc (diff) |
DVB: firedtv: fix printk format mismatch
Eliminate
drivers/media/dvb/firewire/firedtv-avc.c: In function 'debug_fcp':
drivers/media/dvb/firewire/firedtv-avc.c:156: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
Acked-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/firewire/firedtv-avc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/firewire/firedtv-avc.c b/drivers/media/dvb/firewire/firedtv-avc.c index b55d9ccaf33e..1a300f00e0f5 100644 --- a/drivers/media/dvb/firewire/firedtv-avc.c +++ b/drivers/media/dvb/firewire/firedtv-avc.c | |||
@@ -115,7 +115,7 @@ static const char *debug_fcp_ctype(unsigned int ctype) | |||
115 | } | 115 | } |
116 | 116 | ||
117 | static const char *debug_fcp_opcode(unsigned int opcode, | 117 | static const char *debug_fcp_opcode(unsigned int opcode, |
118 | const u8 *data, size_t length) | 118 | const u8 *data, int length) |
119 | { | 119 | { |
120 | switch (opcode) { | 120 | switch (opcode) { |
121 | case AVC_OPCODE_VENDOR: break; | 121 | case AVC_OPCODE_VENDOR: break; |
@@ -141,7 +141,7 @@ static const char *debug_fcp_opcode(unsigned int opcode, | |||
141 | return "Vendor"; | 141 | return "Vendor"; |
142 | } | 142 | } |
143 | 143 | ||
144 | static void debug_fcp(const u8 *data, size_t length) | 144 | static void debug_fcp(const u8 *data, int length) |
145 | { | 145 | { |
146 | unsigned int subunit_type, subunit_id, op; | 146 | unsigned int subunit_type, subunit_id, op; |
147 | const char *prefix = data[0] > 7 ? "FCP <- " : "FCP -> "; | 147 | const char *prefix = data[0] > 7 ? "FCP <- " : "FCP -> "; |