Re: [PATCH] selftests/futex: Fix -Wformat-security warnings in futex_priv_hash
From: André Almeida
Date: Fri Sep 05 2025 - 11:23:58 EST
Hi Sukrut,
Em 05/09/2025 12:17, Sukrut Heroorkar escreveu:
Fix several -Wformat-security warnings in futex_priv_hash by passing
the test message strings as arguments to %s format specifiers in
ksft_*() logging functions.
This silences the warnings without changing the functional behavior
of the test.
This is already fixed upstream:
https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?h=locking/futex&id=f8ef9c24029c85cd0328a9c668283017d8c292ad
https://lore.kernel.org/all/20250827130011.677600-4-bigeasy@xxxxxxxxxxxxx/
Thanks,
André