Skip to contentSkip to conversation

rtase: Modify the format specifier in snprintf to %u

PATCH Applied Justin Lai 2 participants 2 messages Apr 25, 2025 – Apr 29, 2025

Subsystems (3)
lore
Share & tools
lore

Justin Lai

author maintainer
#0 lore raw

PATCH v2 1/1 rtase: Modify the format specifier in snprintf to %u

Modify the format specifier in snprintf to %u.

---
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
index 8c902eaeb5ec..5996b13572c9 100644
@@ -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
#1 lore raw
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.

---
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