* [PATCH] net: fddi: skfp: smt: Remove extra parameters to vararg macro
@ 2022-05-22 13:36 Tom Rix
2022-05-22 22:10 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rix @ 2022-05-22 13:36 UTC (permalink / raw)
To: davem, edumazet, kuba, pabeni, hanyihao; +Cc: netdev, linux-kernel, Tom Rix
cppcheck reports
[drivers/net/fddi/skfp/smt.c:750]: (warning) printf format string requires 0 parameters but 2 are given.
DB_SBAN is a vararg macro, like DB_ESSN. Remove the extra args and the nl.
Signed-off-by: Tom Rix <trix@redhat.com>
---
drivers/net/fddi/skfp/smt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/fddi/skfp/smt.c b/drivers/net/fddi/skfp/smt.c
index 72c31f0013ad..dd15af4e98c2 100644
--- a/drivers/net/fddi/skfp/smt.c
+++ b/drivers/net/fddi/skfp/smt.c
@@ -747,7 +747,7 @@ void smt_received_pack(struct s_smc *smc, SMbuf *mb, int fs)
#endif
#ifdef SBA
- DB_SBAN(2,"SBA: RAF frame received\n",0,0) ;
+ DB_SBAN(2, "SBA: RAF frame received") ;
sba_raf_received_pack(smc,sm,fs) ;
#endif
break ;
--
2.27.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: fddi: skfp: smt: Remove extra parameters to vararg macro
2022-05-22 13:36 [PATCH] net: fddi: skfp: smt: Remove extra parameters to vararg macro Tom Rix
@ 2022-05-22 22:10 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-05-22 22:10 UTC (permalink / raw)
To: Tom Rix; +Cc: davem, edumazet, kuba, pabeni, hanyihao, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:
On Sun, 22 May 2022 09:36:27 -0400 you wrote:
> cppcheck reports
> [drivers/net/fddi/skfp/smt.c:750]: (warning) printf format string requires 0 parameters but 2 are given.
>
> DB_SBAN is a vararg macro, like DB_ESSN. Remove the extra args and the nl.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
>
> [...]
Here is the summary with links:
- net: fddi: skfp: smt: Remove extra parameters to vararg macro
https://git.kernel.org/netdev/net-next/c/2a11fb1d1b85
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] 2+ messages in thread
end of thread, other threads:[~2022-05-22 22:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-22 13:36 [PATCH] net: fddi: skfp: smt: Remove extra parameters to vararg macro Tom Rix
2022-05-22 22:10 ` 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