mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
dm-log-userspace: fix printk format warning
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 Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b2add73dbf
commit
894ef820b1
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ static int fill_pkg(struct cn_msg *msg, struct dm_ulog_request *tfr)
|
||||||
*(pkg->data_size) = 0;
|
*(pkg->data_size) = 0;
|
||||||
} else if (tfr->data_size > *(pkg->data_size)) {
|
} else if (tfr->data_size > *(pkg->data_size)) {
|
||||||
DMERR("Insufficient space to receive package [%u] "
|
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));
|
tfr->data_size, *(pkg->data_size));
|
||||||
|
|
||||||
*(pkg->data_size) = 0;
|
*(pkg->data_size) = 0;
|
||||||
|
|
Loading…
Reference in a new issue