i.MX6: Fix bad printf format specifiers
commit9197c7bddee830d8bc6077581b23450a5b27a460
authorAlex Chen <alex.chen@huawei.com>
Thu, 26 Nov 2020 11:11:07 +0000 (26 11:11 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Dec 2020 11:44:55 +0000 (10 11:44 +0000)
tree8c80a883abe8e99bf7a646d1f91699538c3755de
parenta88ae037572f23a54cf865e7a07df2d734288927
i.MX6: 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-4-alex.chen@huawei.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/misc/imx6_ccm.c
hw/misc/imx6_src.c