Skip to content

net: stmmac: dwmac-anarion: address issues flagged by sparse

Simon Horman linux-arm-kernel netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2net: stmmac: dwmac-anarion: Use annotation __iomem for register basedrivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c+4 -40 repliesApplied
2/2net: stmmac: dwmac-anarion: Always return struct anarion_gmac * from anarion_config_dt()drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c+3 -30 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] net: stmmac: dwmac-anarion: address issues flagged by sparse

Two minor enhancements to dwmac-anarion to address issues flagged by sparse.

1. Always return struct anarion_gmac * from anarion_config_dt()
2. Add __iomem annotation to register base

No functional change intended.
Compile tested only.

---
Simon Horman (2):
net: stmmac: dwmac-anarion: Use annotation __iomem for register base
net: stmmac: dwmac-anarion: Always return struct anarion_gmac * from anarion_config_dt()

 drivers/net/ethernet/stmicro/stmmac/dwmac-anarion.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

base-commit: 0ebd4fd6b9064764a3af3d671463b1350abffb6c