* [PATCH] dm-log-userspace: fix printk format warning
[not found] <alpine.LFD.2.01.0908131601100.3162@localhost.localdomain>
@ 2009-08-16 14:33 ` Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2009-08-16 14:33 UTC (permalink / raw)
To: Linus Torvalds; +Cc: akpm, Linux Kernel Mailing List, dm-devel
From: Randy Dunlap <randy.dunlap@oracle.com>
drivers/md/dm-log-userspace-transfer.c:110: warning: format '%lu' expects type 'long unsigned int', but argument 4 has type 'size_t'
Previously posted and acked, but apparently lost.
http://lkml.indiana.edu/hypermail/linux/kernel/0906.2/02074.html
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: dm-devel@redhat.com
---
drivers/md/dm-log-userspace-transfer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lnx-2631-rc6.orig/drivers/md/dm-log-userspace-transfer.c
+++ lnx-2631-rc6/drivers/md/dm-log-userspace-transfer.c
@@ -108,7 +108,7 @@ static int fill_pkg(struct cn_msg *msg,
*(pkg->data_size) = 0;
} else if (tfr->data_size > *(pkg->data_size)) {
DMERR("Insufficient space to receive package [%u] "
- "(%u vs %lu)", tfr->request_type,
+ "(%u vs %zu)", tfr->request_type,
tfr->data_size, *(pkg->data_size));
*(pkg->data_size) = 0;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-16 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <alpine.LFD.2.01.0908131601100.3162@localhost.localdomain>
2009-08-16 14:33 ` [PATCH] dm-log-userspace: fix printk format warning Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox