* [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static
@ 2025-03-23 19:04 Johan Korsnes
2025-03-24 6:01 ` Michal Swiatkowski
2025-03-25 15:40 ` patchwork-bot+netdevbpf
0 siblings, 2 replies; 5+ messages in thread
From: Johan Korsnes @ 2025-03-23 19:04 UTC (permalink / raw)
To: netdev
Cc: Johan Korsnes, Andrew Lunn, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
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 <johan.korsnes@gmail.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
---
drivers/net/ethernet/amd/au1000_eth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c
index 0671a066913b..9d35ac348ebe 100644
--- a/drivers/net/ethernet/amd/au1000_eth.c
+++ b/drivers/net/ethernet/amd/au1000_eth.c
@@ -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)
--
2.49.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static
2025-03-23 19:04 [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static Johan Korsnes
@ 2025-03-24 6:01 ` Michal Swiatkowski
2025-03-24 8:21 ` Johan Korsnes
2025-03-25 15:40 ` patchwork-bot+netdevbpf
1 sibling, 1 reply; 5+ messages in thread
From: Michal Swiatkowski @ 2025-03-24 6:01 UTC (permalink / raw)
To: Johan Korsnes
Cc: netdev, Andrew Lunn, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
On Sun, Mar 23, 2025 at 08:04:50PM +0100, Johan Korsnes 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)
> | ^~~~~~~~~~~~~~~~
> ```
>
> Signed-off-by: Johan Korsnes <johan.korsnes@gmail.com>
> Cc: Andrew Lunn <andrew+netdev@lunn.ch>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@google.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
> ---
> drivers/net/ethernet/amd/au1000_eth.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c
> index 0671a066913b..9d35ac348ebe 100644
> --- a/drivers/net/ethernet/amd/au1000_eth.c
> +++ b/drivers/net/ethernet/amd/au1000_eth.c
> @@ -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
Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
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.
> --
> 2.49.0
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static
2025-03-24 6:01 ` Michal Swiatkowski
@ 2025-03-24 8:21 ` Johan Korsnes
2025-03-25 9:45 ` Jakub Kicinski
0 siblings, 1 reply; 5+ messages in thread
From: Johan Korsnes @ 2025-03-24 8:21 UTC (permalink / raw)
To: Michal Swiatkowski
Cc: netdev, Andrew Lunn, David S. Miller, Eric Dumazet,
Jakub Kicinski, Paolo Abeni
On 24/03/2025 07:01, Michal Swiatkowski wrote:
> On Sun, Mar 23, 2025 at 08:04:50PM +0100, Johan Korsnes 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)
>> | ^~~~~~~~~~~~~~~~
>> ```
>>
>> Signed-off-by: Johan Korsnes <johan.korsnes@gmail.com>
>> Cc: Andrew Lunn <andrew+netdev@lunn.ch>
>> Cc: "David S. Miller" <davem@davemloft.net>
>> Cc: Eric Dumazet <edumazet@google.com>
>> Cc: Jakub Kicinski <kuba@kernel.org>
>> Cc: Paolo Abeni <pabeni@redhat.com>
>> ---
>> drivers/net/ethernet/amd/au1000_eth.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/net/ethernet/amd/au1000_eth.c b/drivers/net/ethernet/amd/au1000_eth.c
>> index 0671a066913b..9d35ac348ebe 100644
>> --- a/drivers/net/ethernet/amd/au1000_eth.c
>> +++ b/drivers/net/ethernet/amd/au1000_eth.c
>> @@ -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
> Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
>
> 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
>
>> --
>> 2.49.0
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static
2025-03-24 8:21 ` Johan Korsnes
@ 2025-03-25 9:45 ` Jakub Kicinski
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Kicinski @ 2025-03-25 9:45 UTC (permalink / raw)
To: Johan Korsnes
Cc: Michal Swiatkowski, netdev, Andrew Lunn, David S. Miller,
Eric Dumazet, Paolo Abeni
On Mon, 24 Mar 2025 09:21:29 +0100 Johan Korsnes wrote:
> > Thanks for fixing it
> > Reviewed-by: Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
> >
> > 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static
2025-03-23 19:04 [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static Johan Korsnes
2025-03-24 6:01 ` Michal Swiatkowski
@ 2025-03-25 15:40 ` patchwork-bot+netdevbpf
1 sibling, 0 replies; 5+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-03-25 15:40 UTC (permalink / raw)
To: Johan Korsnes; +Cc: netdev, andrew+netdev, davem, edumazet, kuba, pabeni
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
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!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-03-25 15:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-23 19:04 [PATCH] net: au1000_eth: Mark au1000_ReleaseDB() static Johan Korsnes
2025-03-24 6:01 ` Michal Swiatkowski
2025-03-24 8:21 ` Johan Korsnes
2025-03-25 9:45 ` Jakub Kicinski
2025-03-25 15:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).