[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150810092700.424571402D8@ozlabs.org>
Date: Mon, 10 Aug 2015 19:27:00 +1000 (AEST)
From: Michael Ellerman <mpe@...erman.id.au>
To: weiyj_lk@....com,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Wolfram Sang <wsa@...-dreams.de>,
Alexander Gordeev <agordeev@...hat.com>,
Wei Yongjun <yongjun_wei@...ndmicro.com.cn>,
Thomas Gleixner <tglx@...utronix.de>,
Jiang Liu <jiang.liu@...ux.intel.com>,
Alistair Popple <alistair@...ple.id.au>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: powerpc/4xx: Fix return value check in hsta_msi_probe()
On Thu, 2015-16-04 at 12:18:50 UTC, weiyj_lk@....com wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.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@...ndmicro.com.cn>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/35a7f41cc6bb7013e344
cheers
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists