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

Simon Horman horms at kernel.org
Thu Apr 6 10:30:08 PDT 2023


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




More information about the linux-arm-kernel mailing list