devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Baruch Siach <baruch@tkos.co.il>
Cc: Rob Herring <robh+dt@kernel.org>,
	Frank Rowand <frowand.list@gmail.com>,
	devicetree@vger.kernel.org,
	Florian Fainelli <f.fainelli@gmail.com>
Subject: Re: [PATCH v2 1/2] of: base: Fix phandle argument length mismatch error message
Date: Fri, 7 Jan 2022 17:29:26 -0600	[thread overview]
Message-ID: <YdjM1pbMGLk2IPmu@robh.at.kernel.org> (raw)
In-Reply-To: <96519ac55be90a63fa44afe01480c30d08535465.1640881913.git.baruch@tkos.co.il>

On Thu, 30 Dec 2021 18:31:52 +0200, Baruch Siach wrote:
> The cell_count field of of_phandle_iterator is the number of cells we
> expect in the phandle arguments list when cells_name is missing. The
> error message should show the number of cells we actually see.
> 
> Fixes: af3be70a321 ("of: Improve of_phandle_iterator_next() error message")
> Cc: Florian Fainelli <f.fainelli@gmail.com>
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> v2:
> 
>   Use correct length modifier for ptrdiff_t
> ---
>  drivers/of/base.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Applied, thanks!

      parent reply	other threads:[~2022-01-07 23:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-30 16:31 [PATCH v2 1/2] of: base: Fix phandle argument length mismatch error message Baruch Siach
2021-12-30 16:31 ` [PATCH v2 2/2] of: base: Improve argument length mismatch error Baruch Siach
2022-01-07 23:30   ` Rob Herring
2022-01-07 23:29 ` Rob Herring [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=YdjM1pbMGLk2IPmu@robh.at.kernel.org \
    --to=robh@kernel.org \
    --cc=baruch@tkos.co.il \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=frowand.list@gmail.com \
    --cc=robh+dt@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).