]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Merge branch 'bpftool-using-the-right-format-specifiers'
authorAndrii Nakryiko <andrii@kernel.org>
Mon, 17 Mar 2025 20:50:56 +0000 (13:50 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Mon, 17 Mar 2025 20:50:57 +0000 (13:50 -0700)
Jiayuan Chen says:

====================
bpftool: Using the right format specifiers

This patch adds the -Wformat-signedness compiler flag to detect and
prevent format string errors, where signed or unsigned types are
mismatched with format specifiers. Additionally, it fixes some format
string errors that were not fully addressed by the previous patch [1].

[1] https://lore.kernel.org/bpf/20250207123706.727928-1-mrpre@163.com/T/#u
---
v1->v2:
https://lore.kernel.org/bpf/20250310142037.45932-1-jiayuan.chen@linux.dev/
---
====================

Link: https://patch.msgid.link/20250311112809.81901-1-jiayuan.chen@linux.dev
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>

Trivial merge