public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman•id.au>
To: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>,
	Scott Wood <oss@buserror•net>,
	Kumar Gala <galak@kernel•crashing.org>,
	Benjamin Herrenschmidt <benh@kernel•crashing.org>,
	Paul Mackerras <paulus@samba•org>,
	linuxppc-dev@lists•ozlabs.org
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons•com>,
	Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
Subject: Re: mpc832x_rdb: fix of_irq_to_resource() error check
Date: Thu,  3 Aug 2017 20:19:39 +1000 (AEST)	[thread overview]
Message-ID: <3xNQz034xCz9s9Y@ozlabs.org> (raw)
In-Reply-To: <20170729195217.214940504@cogentembedded.com>

On Sat, 2017-07-29 at 19:52:09 UTC, Sergei Shtylyov wrote:
> of_irq_to_resource() has recently been  fixed to return negative error #'s
> along with 0 in case of failure,  however the Freescale MPC832x RDB board
> code still only regards 0 as as failure indication -- fix it up.
> 
> Fixes: 7a4228bbff76 ("of: irq: use of_irq_get() in of_irq_to_resource()")
> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded•com>
> Acked-by: Scott Wood <oss@buserror•net>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/f29bb7861a5107cc1afbf5a565c310

cheers

      parent reply	other threads:[~2017-08-03 10:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-29 19:52 [PATCH] mpc832x_rdb: fix of_irq_to_resource() error check Sergei Shtylyov
2017-07-30  1:51 ` Scott Wood
2017-07-31 10:04   ` Michael Ellerman
2017-08-02  4:04     ` Scott Wood
2017-08-03 10:19 ` Michael Ellerman [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=3xNQz034xCz9s9Y@ozlabs.org \
    --to=patch-notifications@ellerman$(echo .)id.au \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=galak@kernel$(echo .)crashing.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=oss@buserror$(echo .)net \
    --cc=paulus@samba$(echo .)org \
    --cc=sergei.shtylyov@cogentembedded$(echo .)com \
    --cc=thomas.petazzoni@free-electrons$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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