]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/bpf: Fix the wrong format specifier in bpf_jit_disasm
authorLuo Yifan <luoyifan@cmss.chinamobile.com>
Mon, 11 Nov 2024 02:10:04 +0000 (10:10 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 12 Nov 2024 04:04:59 +0000 (20:04 -0800)
commit4b153542013304ff6c971f8cfc85903327fcca8c
tree7d8f56b7f790f9935ebbfc8896013c006c84144d
parent09048d22b7825a5025cf7e135f7e3134daff4df2
tools/bpf: Fix the wrong format specifier in bpf_jit_disasm

There is a static checker warning that the %d in format string is
mismatched with the corresponding argument type, which could result in
incorrect printed data. This patch fixes it.

Signed-off-by: Luo Yifan <luoyifan@cmss.chinamobile.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20241111021004.272293-1-luoyifan@cmss.chinamobile.com
tools/bpf/bpf_jit_disasm.c