i.MX31: Fix bad printf format specifiers
commita88ae037572f23a54cf865e7a07df2d734288927
authorAlex Chen <alex.chen@huawei.com>
Thu, 26 Nov 2020 11:11:06 +0000 (26 11:11 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Dec 2020 11:44:55 +0000 (10 11:44 +0000)
treea6904b3b5119bf512053098b3431cb98067630c4
parent26c69099f762d53731fb3268db990f3e65dc3d1e
i.MX31: 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>
Message-id: 20201126111109.112238-3-alex.chen@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/imx31_ccm.c
hw/misc/imx_ccm.c