[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <a87bee76-85a9-47d7-bdd4-70f8dbe42848@gmail.com>
Date: Wed, 16 Oct 2024 17:43:30 +0530
From: Suraj Sonawane <surajsonawane0215@...il.com>
To: Lee Jones <lee@...nel.org>
Cc: angelogioacchino.delregno@...labora.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-leds@...r.kernel.org, linux-mediatek@...ts.infradead.org,
matthias.bgg@...il.com, pavel@....cz
Subject: Re: (subset) [PATCH v2] leds: Fix uninitialized variable 'ret' in
mt6370_mc_pattern_clear
On 16/10/24 13:23, Lee Jones wrote:
> On Wed, 16 Oct 2024 09:51:42 +0530, Suraj Sonawane wrote:
>> Fix the uninitialized symbol 'ret' in the function mt6370_mc_pattern_clear
>> to resolve the following warning:
>> drivers/leds/rgb/leds-mt6370-rgb.c:604 mt6370_mc_pattern_clear()
>> error: uninitialized symbol 'ret'.
>> Initialize 'ret' to 0 to prevent undefined behavior from uninitialized
>> access.
>>
>> [...]
>
> Applied, thanks!
>
> [1/1] leds: Fix uninitialized variable 'ret' in mt6370_mc_pattern_clear
> commit: 6cbf5c99541ac681cf5c6155b582dfbcd879eae3
>
> --
> Lee Jones [李琼斯]
>
Thanks a lot!
Powered by blists - more mailing lists