Re: (subset) [PATCH] leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 01 Aug 2023 17:16:23 +0200, Marek Behún wrote:
> At the time we call
>     BUG_ON(props.color == LED_COLOR_ID_MULTI);
> the props variable is still initialized to zero.
> 
> Call the BUG_ON only after we parse fwnode into props.
> 
> 
> [...]

Applied, thanks!

[1/1] leds: Fix BUG_ON check for LED_COLOR_ID_MULTI that is always false
      commit: c3f853184bed04105682383c2971798c572226b5

--
Lee Jones [李琼斯]




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux