]> Gentwo Git Trees - linux/.git/commit
eth: sundance: fix endian issues
authorJakub Kicinski <kuba@kernel.org>
Mon, 1 Sep 2025 21:08:18 +0000 (14:08 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 2 Sep 2025 22:49:41 +0000 (15:49 -0700)
commitd2644cbc736f737142a7595fa9346f63e6fc9b33
tree6774d02fe4ad6e4dca19df8b4a7e4ca4e671ecfe
parent8b3332c1331c7c260bdff89bfdfd24ea263be764
eth: sundance: fix endian issues

Fix sparse warnings about endianness. Store DMA addr to a variable
of correct type and then only convert it when writing to the descriptor.

Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250901210818.1025316-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/dlink/sundance.c