[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <172011264702.552322.3898391925473000989.b4-ty@kernel.org>
Date: Thu, 04 Jul 2024 18:04:07 +0100
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>, Fenglin Wu <quic_fenglinw@...cinc.com>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: Lee Jones <lee@...nel.org>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
linux-leds@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: (subset) [PATCH] leds: flash: leds-qcom-flash: Test the
correct variable in init
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 [李琼斯]
Powered by blists - more mailing lists