mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/usb/hcd-ehci: Fix debug printf format string
The variable is uint64_t so needs %PRIu64 instead of %d.
Fixes: 3ae7eb88c4
("ehci: fix overflow in frame timer code")
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250124124713.64F8C4E6031@zero.eik.bme.hu>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
This commit is contained in:
parent
fd7d66de54
commit
a40b5f3286
1 changed files with 2 additions and 1 deletions
|
@ -2287,7 +2287,8 @@ static void ehci_work_bh(void *opaque)
|
|||
ehci_update_frindex(ehci, skipped_uframes);
|
||||
ehci->last_run_ns += UFRAME_TIMER_NS * skipped_uframes;
|
||||
uframes -= skipped_uframes;
|
||||
DPRINTF("WARNING - EHCI skipped %d uframes\n", skipped_uframes);
|
||||
DPRINTF("WARNING - EHCI skipped %"PRIu64" uframes\n",
|
||||
skipped_uframes);
|
||||
}
|
||||
|
||||
for (i = 0; i < uframes; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue