net: au1000_eth: Mark au1000_ReleaseDB() static
Subsystems (2)
PATCH 1/1 net: au1000_eth: Mark au1000_ReleaseDB() static
This fixes the following build warning:
```
drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes]
574 | void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB)
| ^~~~~~~~~~~~~~~~
```--- drivers/net/ethernet/amd/au1000_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/amd/au1000_eth.c +1 -1
@@ -571,7 +571,7 @@ static struct db_dest *au1000_GetFreeDB(struct au1000_private *aup)return pDB; } -void au1000_ReleaseDB (struct au1000_private *aup,struct db_dest *pDB) +static void au1000_ReleaseDB (struct au1000_private *aup,struct db_dest *pDB) {struct db_dest *pDBfree = aup->pDBfree;if (pDBfree)
Signature · 1 line
2.49.0
Quoted 22 lines · Johan Korsnes
This fixes the following build warning:
``` drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes] 574 | void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) | ^~~~~~~~~~~~~~~~ ```Signed-off-by Johan Korsnes <[email protected]>Cc Andrew Lunn <[email protected]>Cc "David S. Miller" <[email protected]>Cc Eric Dumazet <[email protected]>Cc Jakub Kicinski <[email protected]>Cc Paolo Abeni <[email protected]>--- drivers/net/ethernet/amd/au1000_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/amd/au1000_eth.c +0
-0
drivers/net/ethernet/amd/au1000_eth.c static struct db_dest *au1000_GetFreeDB(struct au1000_private *aup) · line 577
Quoted 8 lines
drivers/net/ethernet/amd/au1000_eth.c +1
-1@@ -571,7 +571,7 @@ static struct db_dest *au1000_GetFreeDB(struct au1000_private *aup)return pDB; } -void au1000_ReleaseDB (struct au1000_private *aup,struct db_dest *pDB) +static void au1000_ReleaseDB (struct au1000_private *aup,struct db_dest *pDB) {struct db_dest *pDBfree = aup->pDBfree;if (pDBfree)
Thanks for fixing it
You didn't specify the tree (net vs net-next in [PATCH ...]). If you want it to go to net you will need fixes tag, if to net-next it is fine.
Quoted 2 lines
Signature · 1 line
2.49.0
Quoted 33 lines · Michal Swiatkowski
Quoted 22 lines · Johan Korsnes
This fixes the following build warning:
``` drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes] 574 | void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) | ^~~~~~~~~~~~~~~~ ```Signed-off-by Johan Korsnes <[email protected]>Cc Andrew Lunn <[email protected]>Cc "David S. Miller" <[email protected]>Cc Eric Dumazet <[email protected]>Cc Jakub Kicinski <[email protected]>Cc Paolo Abeni <[email protected]>--- drivers/net/ethernet/amd/au1000_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/ethernet/amd/au1000_eth.c +0
-0drivers/net/ethernet/amd/au1000_eth.c static struct db_dest *au1000_GetFreeDB(struct au1000_private *aup) · line 577
Quoted 8 lines
drivers/net/ethernet/amd/au1000_eth.c +1
-1@@ -571,7 +571,7 @@ static struct db_dest *au1000_GetFreeDB(struct au1000_private *aup)return pDB; } -void au1000_ReleaseDB (struct au1000_private *aup,struct db_dest *pDB) +static void au1000_ReleaseDB (struct au1000_private *aup,struct db_dest *pDB) {struct db_dest *pDBfree = aup->pDBfree;if (pDBfree)Thanks for fixing it
Quoted 4 lines
Reviewed-by Michal Swiatkowski <[email protected]>You didn't specify the tree (net vs net-next in [PATCH ...]). If you want it to go to net you will need fixes tag, if to net-next it is fine.
Thank you for the review. I don't mind adding fixes tags and re-submit, but would that be preferred in this case? Or will it just be noise for the maintainers?
Kind regards,
Johan
Quoted 3 lines
Quoted 3 lines
Signature · 2 lines
-- 2.49.0
Jakub Kicinski
maintainerQuoted 9 lines · On Mon, 24 Mar 2025 09:21:29 +0100 Johan Korsnes wrote:
Quoted 5 lines
Thanks for fixing it
Reviewed-by Michal Swiatkowski <[email protected]>You didn't specify the tree (net vs net-next in [PATCH ...]). If you want it to go to net you will need fixes tag, if to net-next it is fine.
Thank you for the review. I don't mind adding fixes tags and re-submit, but would that be preferred in this case? Or will it just be noise for the maintainers?
Just noise.
Michal, when PW bot guesses the tree correctly there is no need to flag the problem to the contributor. The tree designation makes our life easier but not enough to deal with reposts.
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Sun, 23 Mar 2025 20:04:50 +0100 you wrote:
This fixes the following build warning:
``` drivers/net/ethernet/amd/au1000_eth.c:574:6: warning: no previous prototype for 'au1000_ReleaseDB' [-Wmissing-prototypes] 574 | void au1000_ReleaseDB(struct au1000_private *aup, struct db_dest *pDB) | ^~~~~~~~~~~~~~~~ ```[...]
Here is the summary with links:
- net: au1000_eth: Mark au1000_ReleaseDB() static
https://git.kernel.org/netdev/net-next/c/5e8df79497ce
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html