From 897c87a8fa0df4eea86e55582bff8b1e95d738ee Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Tue, 4 Aug 2026 08:46:24 +0100 Subject: [PATCH] [velocity] Correct direction of endianness conversion Signed-off-by: Michael Brown --- src/drivers/net/velocity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/net/velocity.c b/src/drivers/net/velocity.c index 373714293..7464f4c28 100644 --- a/src/drivers/net/velocity.c +++ b/src/drivers/net/velocity.c @@ -566,7 +566,7 @@ static void velocity_poll_rx ( struct velocity_nic *vlc ) { rx_idx = ( vlc->rx_cons % VELOCITY_RXDESC_NUM ); desc = &vlc->rx_ring[rx_idx]; - des0 = cpu_to_le32 ( desc->des0 ); + des0 = le32_to_cpu ( desc->des0 ); /* Return if descriptor still in use */ if ( des0 & VELOCITY_DES0_OWN )