ssi: Fix bad printf format specifiers
commit9df0a97298292f1638d4de9258ff1fc9092b7813
authorAlexChen <alex.chen@huawei.com>
Wed, 4 Nov 2020 10:22:45 +0000 (4 18:22 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 10 Nov 2020 11:03:47 +0000 (10 11:03 +0000)
tree06879abffb3dd445de635368755c5af700c2bc56
parent9ad5f6b05f181b36bc368e2bf60b1548d2937667
ssi: Fix bad printf format specifiers

We should use printf format specifier "%u" instead of "%d" for
argument of type "unsigned int".

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 5FA280F5.8060902@huawei.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/ssi/imx_spi.c
hw/ssi/xilinx_spi.c