tools: selftests: riscv: Fix compile warnings in hwprobe
authorChristoph Müllner <christoph.muellner@vrull.eu>
Thu, 23 Nov 2023 18:58:17 +0000 (19:58 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 11 Jan 2024 16:02:47 +0000 (08:02 -0800)
commitb91c26fdb0e8150cdb610cdaadea62bb5e43bee0
tree1a547cf2a1523c3a55e96c86e4f53d3a11297bd5
parentb85ea95d086471afb4ad062012a4d73cd328fa86
tools: selftests: riscv: Fix compile warnings in hwprobe

GCC prints a couple of format string warnings when compiling
the hwprobe test. 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-2-christoph.muellner@vrull.eu
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
tools/testing/selftests/riscv/hwprobe/hwprobe.c