Re: (subset) [PATCH] leds: flash: leds-qcom-flash: Test the correct variable in init
From: Lee Jones
Date: Thu Jul 04 2024 - 13:04:20 EST
On Thu, 04 Jul 2024 10:19:32 -0500, Dan Carpenter wrote:
> This code was passing the incorrect pointer to PTR_ERR_OR_ZERO() so it
> always returned success. It should have been checking the array element
> instead of the array itself.
>
>
Applied, thanks!
[1/1] leds: flash: leds-qcom-flash: Test the correct variable in init
commit: b9bd590268485652b928110b5543057543b5d02b
--
Lee Jones [李琼斯]