hw/usb: Fix bad printf format specifiers
commit268c02424b0b8078c15acdf73edbdeeb0dd80808
authorAlex Chen <alex.chen@huawei.com>
Thu, 19 Nov 2020 02:57:51 +0000 (19 02:57 +0000)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 22 Jan 2021 13:51:35 +0000 (22 14:51 +0100)
tree42abbf12e3863e8c0511593805f17373e87bc74e
parenta3c27ea0344d3cc7295a5f0589d5514913ec1522
hw/usb: 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: 20201119025751.45750-1-alex.chen@huawei.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/usb/ccid-card-passthru.c
hw/usb/core.c
hw/usb/dev-smartcard-reader.c
hw/usb/hcd-ehci.c