[Devel] [PATCH RHEL9 COMMIT] dm-qcow2: fixup printk argument type
Konstantin Khorenko
khorenko at virtuozzo.com
Fri Feb 21 14:46:48 MSK 2025
The commit is pushed to "branch-rh9-5.14.0-427.44.1.vz9.80.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.44.1.vz9.80.17
------>
commit f3662b758e841c37eb165c12fd60763e995dc087
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date: Fri Feb 21 14:42:32 2025 +0300
dm-qcow2: fixup printk argument type
dctxlen has "size_t" type, so use "%lu" for its output.
Fixes: 406c4cdff1bb ("dm-qcow2: support mixed compression images")
https://virtuozzo.atlassian.net/browse/VSTOR-97155
Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
Feature: dm-qcow2: block device over QCOW2 files driver
---
drivers/md/dm-qcow2-map.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/md/dm-qcow2-map.c b/drivers/md/dm-qcow2-map.c
index 5b695b6b281f..7a1312a74e9f 100644
--- a/drivers/md/dm-qcow2-map.c
+++ b/drivers/md/dm-qcow2-map.c
@@ -3689,7 +3689,7 @@ static void process_compressed_read(struct list_head *read_list,
buf = kvmalloc(qcow2->clu_size + dctxlen, GFP_NOIO);
if (!buf) {
QC_ERR(qcow2->tgt->ti,
- "can not allocate decompression buffer:%d",
+ "can not allocate decompression buffer:%lu",
qcow2->clu_size + dctxlen);
end_qios(read_list, BLK_STS_RESOURCE);
return;
More information about the Devel
mailing list