]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
commitf3f8649585a445414521a6d5b76f41b51205086d
tree33f45a2bcc436b5864e1676b3c2816b406bdfc7d
parentb02f072a36560a89155a1ebcb2ca6bd881333a8b
parent3775be3417cc3243b0df0492bd308559dcf0560b
Merge branch 'bpftool-using-the-right-format-specifiers'

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>