From: Michael Ellerman <mpe@ellerman.id.au>
To: weiyj_lk@163.com,
Benjamin Herrenschmidt <benh@kernel.crashing.org>,
Paul Mackerras <paulus@samba.org>,
Wolfram Sang <wsa@the-dreams.de>,
Alexander Gordeev <agordeev@redhat.com>,
Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
Thomas Gleixner <tglx@linutronix.de>,
Jiang Liu <jiang.liu@linux.intel.com>,
Alistair Popple <alistair@popple.id.au>
Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: Re: powerpc/4xx: Fix return value check in hsta_msi_probe()
Date: Mon, 10 Aug 2015 19:27:00 +1000 (AEST) [thread overview]
Message-ID: <20150810092700.424571402D8@ozlabs.org> (raw)
In-Reply-To: <1429186730-20723-1-git-send-email-weiyj_lk@163.com>
On Thu, 2015-16-04 at 12:18:50 UTC, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> In case of error, the functions platform_get_resource() and kmalloc()
> returns NULL not ERR_PTR(). The IS_ERR() test in the return value check
> should be replaced with NULL test.
>
> Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/35a7f41cc6bb7013e344
cheers
prev parent reply other threads:[~2015-08-10 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-16 12:18 [PATCH] powerpc/4xx: Fix return value check in hsta_msi_probe() weiyj_lk
2015-08-10 9:27 ` 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=20150810092700.424571402D8@ozlabs.org \
--to=mpe@ellerman.id.au \
--cc=agordeev@redhat.com \
--cc=alistair@popple.id.au \
--cc=benh@kernel.crashing.org \
--cc=jiang.liu@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=paulus@samba.org \
--cc=tglx@linutronix.de \
--cc=weiyj_lk@163.com \
--cc=wsa@the-dreams.de \
--cc=yongjun_wei@trendmicro.com.cn \
/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).