devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: Nathan Lynch <nathanl@linux.ibm.com>
Cc: linux-kernel@vger.kernel.org, frowand.list@gmail.com,
	robh+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH] of: kobj: make of_node_is_(initialized|attached) parameters const
Date: Wed, 20 Oct 2021 11:29:25 -0500	[thread overview]
Message-ID: <YXBD5fM43e2PLY2E@robh.at.kernel.org> (raw)
In-Reply-To: <20211014173023.2117799-1-nathanl@linux.ibm.com>

On Thu, 14 Oct 2021 12:30:23 -0500, Nathan Lynch wrote:
> of_node_is_initialized() and of_node_is_attached() don't modify the node
> objects passed to them, so those parameters should be const.
> 
> Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
> ---
>  drivers/of/kobj.c       | 4 ++--
>  drivers/of/of_private.h | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 

Applied, thanks!

      reply	other threads:[~2021-10-20 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 17:30 [PATCH] of: kobj: make of_node_is_(initialized|attached) parameters const Nathan Lynch
2021-10-20 16: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=YXBD5fM43e2PLY2E@robh.at.kernel.org \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=frowand.list@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathanl@linux.ibm.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).