summaryrefslogtreecommitdiff
path: root/net/dsa/trace.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2025-11-20 11:25:16 +0000
committerJakub Kicinski <kuba@kernel.org>2025-11-21 18:13:44 -0800
commitf54bbd390f5fc038cf6ad75432c83b3cedf9bef4 (patch)
tree3b3183a4cbf7bec02f9dcd3f47f13c224801b2bd /net/dsa/trace.c
parent501253b61d843745e6e1f1fd3b39a49785ffcbf4 (diff)
net: stmmac: qcom-ethqos: use u32 for rgmii read/write/update
readl() returns a u32, and writel() takes a "u32" for the value. These are used in rgmii_readl()() and rgmii_writel(), but the value and return are "int". As these are 32-bit register values which are not signed, use "u32". These changes do not cause generated code changes. Update rgmii_updatel() to use u32 for mask and val. Changing "mask" to "u32" also does not cause generated code changes. However, changing "val" causes the generated assembly to be re-ordered for aarch64. Update the temporary variables used with the rgmii functions to use u32. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://patch.msgid.link/E1vM2mq-0000000FRTi-3y5F@rmk-PC.armlinux.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dsa/trace.c')
0 files changed, 0 insertions, 0 deletions