[GIT PULL] Clang build fix for 7.1
From: Nathan Chancellor
Date: Thu Apr 23 2026 - 20:05:43 EST
Hi Linus,
Please pull this single build fix for an instance of a new clang
subwarning under -Wunused-but-set-variable, -Wunused-but-set-global,
that appears in certs/extract-cert.c. If there are any issues, please
let me know.
Cheers,
Nathan
The following changes since commit 028ef9c96e96197026887c0f092424679298aae8:
Linux 7.0 (2026-04-12 13:48:06 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/nathan/linux.git tags/clang-fixes-7.1-1
for you to fetch changes up to 4f96b7c68a9904e01049ef610d701b382dca9574:
extract-cert: Wrap key_pass with '#ifdef USE_PKCS11_ENGINE' (2026-04-16 14:21:10 -0700)
----------------------------------------------------------------
Clang build fixes for 7.1
- Wrap declaration and assignment of key_pass in certs/extract-cert.c
with '#ifdef' that matches its only usage to clear up an instance of a
new clang subwarning, -Wunused-but-set-global.
Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>
----------------------------------------------------------------
Nathan Chancellor (1):
extract-cert: Wrap key_pass with '#ifdef USE_PKCS11_ENGINE'
certs/extract-cert.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)