rtase: Modify the format specifier in snprintf to %u
Subsystems (3)
Justin Lai
maintainerPATCH v2 1/1 rtase: Modify the format specifier in snprintf to %u
Modify the format specifier in snprintf to %u.
Signed-off-by Justin Lai <[email protected]>
Reviewed-by Joe Damato <[email protected]>
---
v1 -> v2:
- Remove the Fixes tag.
--- drivers/net/ethernet/realtek/rtase/rtase_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/realtek/rtase/rtase_main.c +1 -1
@@ -1114,7 +1114,7 @@ static int rtase_open(struct net_device *dev)/* request other interrupts to handle multiqueue */ for (i =1 ; i < tp->int_nums; i++) { ivec = &tp->int_vector[i]; -snprintf (ivec->name,sizeof (ivec->name),"%s_int%i" , +snprintf (ivec->name,sizeof (ivec->name),"%s_int%u" , tp->dev->name, i); ret =request_irq (ivec->irq, rtase_q_interrupt,0 , ivec->name, ivec);
Signature · 1 line
2.34.1
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 9 lines · On Fri, 25 Apr 2025 14:40:57 +0800 you wrote:
Modify the format specifier in snprintf to %u.
Signed-off-by Justin Lai <[email protected]>Reviewed-by Joe Damato <[email protected]>---
v1 -> v2:
- Remove the Fixes tag.[...]
Here is the summary with links:
- [net-next,v2] rtase: Modify the format specifier in snprintf to %u
https://git.kernel.org/netdev/net-next/c/ef7d33e17456
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html