Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1203928

Re: powerpc/4xx: Fix return value check in hsta_msi_probe()

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: powerpc/4xx: Fix return value check in hsta_msi_probe()
Date 2015-08-10 11:30 +0200
Message-ID <pVRz5-1TS-29@gated-at.bofh.it> (permalink)
References <pfR5E-27L-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: powerpc/4xx: Fix return value check in hsta_msi_probe() Michael Ellerman <mpe@ellerman.id.au> - 2015-08-10 11:30 +0200

csiph-web