From: ralf@linux-mips•org (Ralf Baechle)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH] MIPS: pci-mt7620: Fix return value check in mt7620_pci_probe()
Date: Wed, 10 Feb 2016 10:01:06 +0100 [thread overview]
Message-ID: <20160210090106.GA10352@linux-mips.org> (raw)
In-Reply-To: <56B613D3.2070709@openwrt.org>
On Sat, Feb 06, 2016 at 04:40:03PM +0100, John Crispin wrote:
> On 06/02/2016 15:24, weiyj_lk at 163.com wrote:
> > From: Wei Yongjun <yongjun_wei@trendmicro•com.cn>
> >
> > In case of error, the function devm_ioremap_resource() returns
> > ERR_PTR() and never returns NULL. The NULL test in the return
> > value check should be replaced with IS_ERR().
> >
> > Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro•com.cn>
>
> Hi,
>
> thanks for the fix.
>
> Acked-by: John Crispin <blogic@openwrt•org>
>
> @Ralf: can you merge this via LMO with the next PR please ?
>
> @mbgg: ignore the patch please it is for the legacy MIPS SoCs
Applied. Thanks folks,
Ralf
prev parent reply other threads:[~2016-02-10 9:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-06 14:24 [PATCH] MIPS: pci-mt7620: Fix return value check in mt7620_pci_probe() weiyj_lk at 163.com
2016-02-06 15:40 ` John Crispin
2016-02-10 9:01 ` Ralf Baechle [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=20160210090106.GA10352@linux-mips.org \
--to=ralf@linux-mips$(echo .)org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
/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