hw/arm: Fix bad print format specifiers
authorAlexChen <alex.chen@huawei.com>
Mon, 2 Nov 2020 09:55:23 +0000 (17:55 +0800)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 23 Nov 2020 10:41:58 +0000 (10:41 +0000)
commit98554b3b56b3e74e271385afb00855d48ab1fe16
treebbe6a952c97fa2cbdc33ac32ba6d5ca824874c77
parent98e8779770c40901ed585745aacc9a8e2b934a28
hw/arm: Fix bad print format specifiers

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

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Message-id: 5F9FD78B.8000300@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/pxa2xx.c
hw/arm/spitz.c
hw/arm/tosa.c