OSDN Git Service

i.MX25: Fix bad printf format specifiers
authorAlex Chen <alex.chen@huawei.com>
Thu, 26 Nov 2020 11:11:05 +0000 (11:11 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Dec 2020 11:44:55 +0000 (11:44 +0000)
commit26c69099f762d53731fb3268db990f3e65dc3d1e
tree30a7511b1c4a5bada8c750a4b8960251227bd4c0
parent1af979b492e2008578ecf3a7940f4ebd7118af15
i.MX25: 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-2-alex.chen@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/imx25_ccm.c