Re: [PATCH] net: niu: fix potential buffer overflow/truncation in irq names
From: Jakub Kicinski
Date: Wed Jul 29 2026 - 21:46:55 EST
On Sat, 25 Jul 2026 16:11:32 +0200 Ronan Marchal wrote:
> Building with W=1 reports a -Wformat-truncation warning on
> niu_set_irq_name(): the "%s:SYSERR" format could be truncated
> because irq_name[] was one byte too small for the worst case
> interface name length (IFNAMSIZ-1) plus the ":SYSERR" suffix.
Please explain how you tested this in the commit message.
If you haven't please leave this old obsolete driver alone.