]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: stmmac: make variable data a u32
authorColin Ian King <colin.i.king@gmail.com>
Mon, 11 Aug 2025 11:12:11 +0000 (12:12 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 12 Aug 2025 21:11:48 +0000 (14:11 -0700)
commit11b99886d1948503ccc3f24548b3dfb7ff0a5261
treefce22a6a8eec3df82e1e109b26c1ca510625070b
parent63fe077c21d323cbc8d56114e9139bbadab33ce5
net: stmmac: make variable data a u32

Make data a u32 instead of an unsigned long, this way it is
explicitly the same width as the operations performed on it
and the same width as a writel store, and it cleans up sign
extention warnings when 64 bit static analysis is performed
on the code.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20250811111211.1646600-1-colin.i.king@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/dwmac_lib.c