Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rtase: Modify the format specifier in snprintf to %u

Modify the format specifier in snprintf to %u.

Signed-off-by: Justin Lai <justinlai0215@realtek.com>
Reviewed-by: Joe Damato <jdamato@fastly.com>
Link: https://patch.msgid.link/20250425064057.30035-1-justinlai0215@realtek.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Justin Lai and committed by
Jakub Kicinski
ef7d33e1 6f450c82

+1 -1
+1 -1
drivers/net/ethernet/realtek/rtase/rtase_main.c
··· 1114 1114 /* request other interrupts to handle multiqueue */ 1115 1115 for (i = 1; i < tp->int_nums; i++) { 1116 1116 ivec = &tp->int_vector[i]; 1117 - snprintf(ivec->name, sizeof(ivec->name), "%s_int%i", 1117 + snprintf(ivec->name, sizeof(ivec->name), "%s_int%u", 1118 1118 tp->dev->name, i); 1119 1119 ret = request_irq(ivec->irq, rtase_q_interrupt, 0, 1120 1120 ivec->name, ivec);