From 7e04481523f931e9671faacf3aa345ae83acc97b Mon Sep 17 00:00:00 2001 From: LekKit <50500857+LekKit@users.noreply.github.com> Date: Thu, 9 Jan 2025 22:49:04 +0200 Subject: [PATCH] usb-xhci: Fix CI failure due to logger specifiers --- src/devices/usb-xhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/usb-xhci.c b/src/devices/usb-xhci.c index e436cea9..662cae8b 100644 --- a/src/devices/usb-xhci.c +++ b/src/devices/usb-xhci.c @@ -253,13 +253,13 @@ static void xhci_doorbell_write(xhci_bus_t* xhci, size_t id, uint32_t val) if (id == 0) { // Command Ring doorbell uint8_t* dma = pci_get_dma_ptr(xhci->pci_dev, xhci->or_crcr & ~0x3F, XHCI_TRB_SIZE); - rvvm_warn("Command ring doorbell rang, CRCR: %lx", xhci->or_crcr); + rvvm_warn("Command doorbell rang"); if (dma) { uint64_t ptr = read_uint64_le(dma); uint32_t sts = read_uint32_le(dma + 0x8); uint32_t ctr = read_uint32_le(dma + 0xC); - rvvm_warn("Command TRB: ptr %lx, status %x, control %x", ptr, sts, ctr); + rvvm_warn("Command TRB: ptr %x, status %x, control %x", (uint32_t)ptr, sts, ctr); rvvm_warn("TRB Type: %x", XHCI_TRB_TYPE(ctr)); } else { rvvm_warn("Command DMA failed!");