From: Michael Brown Date: Tue, 4 Aug 2026 07:42:01 +0000 (+0100) Subject: [uhci] Add missing little-endian conversion X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b06e419a9112bbc9e907ea1ab40adce78c28afc;p=thirdparty%2Fipxe.git [uhci] Add missing little-endian conversion Signed-off-by: Michael Brown --- diff --git a/src/drivers/usb/uhci.c b/src/drivers/usb/uhci.c index 2c70a11bd..3eb3ab7bd 100644 --- a/src/drivers/usb/uhci.c +++ b/src/drivers/usb/uhci.c @@ -338,7 +338,7 @@ static void uhci_describe ( struct uhci_ring *ring, void *data, UHCI_CONTROL_LEN ( frag_len ) ); desc->control = cpu_to_le32 ( control ); if ( data ) - desc->data = virt_to_phys ( data ); + desc->data = cpu_to_le32 ( virt_to_phys ( data ) ); wmb(); desc->status = UHCI_STATUS_ACTIVE;