public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philipp Zabel <p.zabel@pengutronix.de>
To: Alban <albeu@free.fr>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] reset: Fix of_reset_control_get() for consistent return values
Date: Thu, 03 Sep 2015 11:49:06 +0200	[thread overview]
Message-ID: <1441273746.3191.12.camel@pengutronix.de> (raw)
In-Reply-To: <20150902183506.5e7affdf@avionic-0020>

Hi Alban,

Am Mittwoch, den 02.09.2015, 18:35 +0200 schrieb Alban:
[...]
> That's no really the case. If the property doesn't exists, or the
> requested index is out of range, of_parse_phandle_with_args() always
> return -ENOENT. This is important for optional properties.

You are right, I've looked ad __of_parse_phandle_with_args and missed
that it's explicitly checked in of_parse_phandle_with_args. I have
applied your patch.

best regards
Philipp


      reply	other threads:[~2015-09-03  9:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-01 15:28 [PATCH] reset: Fix of_reset_control_get() for consistent return values Alban Bedel
2015-09-02 15:09 ` Philipp Zabel
2015-09-02 16:35   ` Alban
2015-09-03  9:49     ` Philipp Zabel [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=1441273746.3191.12.camel@pengutronix.de \
    --to=p.zabel@pengutronix.de \
    --cc=albeu@free.fr \
    --cc=linux-kernel@vger.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