[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20190402035317.GJ4187@dell>
Date: Tue, 2 Apr 2019 04:53:17 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Aditya Pakki <pakki001@....edu>
Cc: kjlu@....edu, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: sm501: Fix potential NULL pointer dereference
On Sat, 02 Mar 2019, Aditya Pakki wrote:
> lookup variable on failure of allocating memory via devm_kzalloc
> can cause a NULL pointer dereference. This patch avoids such a scenario.
>
> Signed-off-by: Aditya Pakki <pakki001@....edu>
> ---
> drivers/mfd/sm501.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks.
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists