net: fddi: skfp: smt: Remove extra parameters to vararg macro
Subsystems (2)
PATCH 1/1 net: fddi: skfp: smt: Remove extra parameters to vararg macro
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 <[email protected]>
--- drivers/net/fddi/skfp/smt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/fddi/skfp/smt.c +1 -1
@@ -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 ;
Signature · 1 line
2.27.0
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (master) by David S. Miller <[email protected]>:
Quoted 8 lines · 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_SBANis a vararg macro, likeDB_ESSN. Remove the extra args and the nl.Signed-off-by Tom Rix <[email protected]>[...]
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!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html