[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <174377067651.311707.16521927408874362100.b4-ty@kernel.org>
Date: Fri, 04 Apr 2025 13:44:36 +0100
From: Lee Jones <lee@...nel.org>
To: Lee Jones <lee@...nel.org>, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Pavel Machek <pavel@...nel.org>
Subject: Re: (subset) [PATCH v2 1/1] leds: core: Bail out when composed
name can't fit the buffer
On Tue, 18 Mar 2025 18:04:29 +0200, Andy Shevchenko wrote:
> GCC compiler complains about snprintf() calls that may potentially cut
> the output:
>
> drivers/leds/led-core.c:551:78: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
> drivers/leds/led-core.c:554:78: error: ‘snprintf’ output may be truncated before the last format character [-Werror=format-truncation=]
> ...
>
> [...]
Applied, thanks!
[1/1] leds: core: Bail out when composed name can't fit the buffer
commit: 8f5b950b7791479db918c750e1c762b2b30435e6
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists