[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169710616600.1174986.4498192566234857598.b4-ty@kernel.org>
Date: Thu, 12 Oct 2023 11:22:46 +0100
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>,
Andrew Lunn <andrew@...n.ch>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Li Zetao <lizetao1@...wei.com>, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org,
Christian Marangi <ansuelsmth@...il.com>
Cc: stable@...r.kernel.org, kernel test robot <lkp@...el.com>
Subject: Re: (subset) [net PATCH] leds: trigger: netdev: move size check in
set_device_name
On Sat, 07 Oct 2023 15:10:42 +0200, Christian Marangi wrote:
> GCC 13.2 complains about array subscript 17 is above array bounds of
> 'char[16]' with IFNAMSIZ set to 16.
>
> The warning is correct but this scenario is impossible.
> set_device_name is called by device_name_store (store sysfs entry) and
> netdev_trig_activate.
>
> [...]
Applied, thanks!
[1/1] leds: trigger: netdev: move size check in set_device_name
commit: e0e29e434cdca9705eb420b3f26928444fa559f6
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists