From: Scott Wood <oss@buserror.net>
To: Michael Ellerman <mpe@ellerman.id.au>,
Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>,
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>
Subject: Re: [PATCH] mpc832x_rdb: fix of_irq_to_resource() error check
Date: Tue, 01 Aug 2017 23:04:34 -0500 [thread overview]
Message-ID: <1501646674.3739.6.camel@buserror.net> (raw)
In-Reply-To: <87h8xs6hxc.fsf@concordia.ellerman.id.au>
On Mon, 2017-07-31 at 20:04 +1000, Michael Ellerman wrote:
> Scott Wood <oss@buserror.net> writes:
>
> > On Sat, 2017-07-29 at 22:52 +0300, 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>
> > >
> > > ---
> > > The patch is against the 'master' branch of Scott Wood's 'linux.git'
> > > repo
> > > (the 'fixes' branch is too much behind).
> >
> > The master branch is also old. Those branches are only used when needed
> > to
> > apply patches; I don't update them just to sync up. If they're older than
> > what's in Michael's or Linus's tree (as they almost always are), then use
> > those instead.
> >
> > Not that I expect it to make a difference to this patch...
>
> Do you want me to grab this as a fix for 4.13 ?
Sure:
Acked-by: Scott Wood <oss@buserror.net>
-Scott
next prev parent reply other threads:[~2017-08-02 4:04 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 [this message]
2017-08-03 10:19 ` Michael Ellerman
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=1501646674.3739.6.camel@buserror.net \
--to=oss@buserror.net \
--cc=benh@kernel.crashing.org \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mpe@ellerman.id.au \
--cc=paulus@samba.org \
--cc=sergei.shtylyov@cogentembedded.com \
--cc=thomas.petazzoni@free-electrons.com \
/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).