mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Pavel Machek <pavel@ucw.cz>,
	Fenglin Wu <quic_fenglinw@quicinc.com>,
	 Dan Carpenter <dan.carpenter@linaro.org>
Cc: "Lee Jones" <lee@kernel.org>,
	"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
	linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org,
	kernel-janitors@vger.kernel.org
Subject: Re: (subset) [PATCH] leds: flash: leds-qcom-flash: Test the correct variable in init
Date: Thu, 04 Jul 2024 18:04:07 +0100	[thread overview]
Message-ID: <172011264702.552322.3898391925473000989.b4-ty@kernel.org> (raw)
In-Reply-To: <ZoWJS_epjIMCYITg@stanley.mountain>

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 [李琼斯]


      reply	other threads:[~2024-07-04 17:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-04 15:19 Dan Carpenter
2024-07-04 17:04 ` Lee Jones [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=172011264702.552322.3898391925473000989.b4-ty@kernel.org \
    --to=lee@kernel.org \
    --cc=dan.carpenter@linaro.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-leds@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=quic_fenglinw@quicinc.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®