Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecf441b5 authored by Randy Dunlap's avatar Randy Dunlap Committed by Ingo Molnar
Browse files

kmemtrace: fix printk formats, fix



Geert Uytterhoeven wrote:

> %4zu?

Reported-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Acked-by: default avatarEduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent cc2f6d90
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -139,12 +139,12 @@ kmemtrace_print_alloc_compress(struct trace_iterator *iter,
		return TRACE_TYPE_PARTIAL_LINE;

	/* Requested */
	ret = trace_seq_printf(s, "%4zd   ", entry->bytes_req);
	ret = trace_seq_printf(s, "%4zu   ", entry->bytes_req);
	if (!ret)
		return TRACE_TYPE_PARTIAL_LINE;

	/* Allocated */
	ret = trace_seq_printf(s, "%4zd   ", entry->bytes_alloc);
	ret = trace_seq_printf(s, "%4zu   ", entry->bytes_alloc);
	if (!ret)
		return TRACE_TYPE_PARTIAL_LINE;