[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230406-dwmac-anarion-sparse-v1-0-b0c866c8be9d@kernel.org>
Date: Thu, 06 Apr 2023 19:30:08 +0200
From: Simon Horman <horms@...nel.org>
To: Jakub Kicinski <kuba@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>
Cc: Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <joabreu@...opsys.com>,
Maxime Coquelin <mcoquelin.stm32@...il.com>,
netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com,
linux-arm-kernel@...ts.infradead.org
Subject: [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
Powered by blists - more mailing lists