Messages in this thread | | | Date | Mon, 13 Jan 2020 11:10:50 -0800 | From | Paul Burton <> | Subject | Re: [PATCH] MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init() |
| |
Hello,
Tiezhu Yang wrote: > If kzalloc fails, it should return -ENOMEM, otherwise may trigger a NULL > pointer dereference.
Applied to mips-next.
> commit 72d052e28d1d > https://git.kernel.org/mips/c/72d052e28d1d > > Fixes: 3adeb2566b9b ("MIPS: Loongson: Improve LEFI firmware interface") > Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> > Signed-off-by: Paul Burton <paulburton@kernel.org>
Thanks, Paul
[ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]
| |