projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7542e0e
)
ieee1394: ieee1394_core printk format
author
Randy Dunlap
<randy.dunlap@oracle.com>
Tue, 3 Apr 2007 20:00:47 +0000
(13:00 -0700)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Sun, 29 Apr 2007 22:00:29 +0000
(
00:00
+0200)
Fix printk format string:
drivers/ieee1394/ieee1394_core.c:702: warning: format '%d' expects type 'int', but argument 2 has type 'size_t'
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/ieee1394_core.c
patch
|
blob
|
history
diff --git
a/drivers/ieee1394/ieee1394_core.c
b/drivers/ieee1394/ieee1394_core.c
index
d6e3d44
..
d2240a4
100644
(file)
--- a/
drivers/ieee1394/ieee1394_core.c
+++ b/
drivers/ieee1394/ieee1394_core.c
@@
-698,7
+698,7
@@
static size_t packet_size_to_data_size(size_t packet_size, size_t header_size,
ret = buffer_size;
if (unlikely(ret + header_size != packet_size))
- HPSB_ERR("unexpected packet size %d (tcode %d), bug?",
+ HPSB_ERR("unexpected packet size %
z
d (tcode %d), bug?",
packet_size, tcode);
return ret;
}