tools: selftests: riscv: Fix compile warnings in vector tests
authorChristoph Müllner <christoph.muellner@vrull.eu>
Thu, 23 Nov 2023 18:58:20 +0000 (19:58 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 11 Jan 2024 16:02:50 +0000 (08:02 -0800)
commite1baf5e68ed128c1e22ba43e5190526d85de323c
treef51b9f0ce14cd191ceb5129a1de88b2b23b2f450
parentb250c90898412878fe56f069b1a6b1b94a7bbdfa
tools: selftests: riscv: Fix compile warnings in vector tests

GCC prints a couple of format string warnings when compiling
the vector tests. Let's follow the recommendation in
Documentation/printk-formats.txt to fix these warnings.

Signed-off-by: Christoph Müllner <christoph.muellner@vrull.eu>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20231123185821.2272504-5-christoph.muellner@vrull.eu
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
tools/testing/selftests/riscv/vector/v_initval_nolibc.c
tools/testing/selftests/riscv/vector/vstate_prctl.c