summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2019-11-29 16:14:48 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-12-02 11:02:21 +0100
commit189e49d0e68380b501883bbd3cc9a91714a74956 (patch)
tree21199f7c47ce2b98842d817c954421aff75a2e97 /fs
parentc850f3f66f297465224ef7455247c98437c3b9b0 (diff)
downloadbarebox-189e49d0e68380b501883bbd3cc9a91714a74956.tar.gz
pstore: ramoops: use correct format specifier for size_t variables
Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/pstore/ram.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/pstore/ram.c b/fs/pstore/ram.c
index b968579..958f46b 100644
--- a/fs/pstore/ram.c
+++ b/fs/pstore/ram.c
@@ -623,10 +623,10 @@ static int ramoops_probe(struct device_d *dev)
if (!IS_ENABLED(CONFIG_OFTREE)) {
scnprintf(kernelargs, sizeof(kernelargs),
- "ramoops.record_size=0x%x "
- "ramoops.console_size=0x%x "
- "ramoops.ftrace_size=0x%x "
- "ramoops.pmsg_size=0x%x "
+ "ramoops.record_size=0x%zx "
+ "ramoops.console_size=0x%zx "
+ "ramoops.ftrace_size=0x%zx "
+ "ramoops.pmsg_size=0x%zx "
"ramoops.mem_address=0x%llx "
"ramoops.mem_size=0x%lx "
"ramoops.ecc=%d",