Re: [PATCH v2] staging: rtlwifi: Fix potential NULL pointer dereference of kzalloc

From: Greg Kroah-Hartman
Date: Wed Mar 20 2019 - 03:23:53 EST


On Tue, Mar 19, 2019 at 03:15:08PM -0500, Aditya Pakki wrote:
> phydm.internal is allocated using kzalloc which is used multiple
> times without a check for NULL pointer. This patch avoids such a
> scenario.
>
> --
> v1: Patch collision with different things, fix as per Greg
> Signed-off-by: Aditya Pakki <pakki001@xxxxxxx>

signed-off-by has to be above the -- line. Please fix.

thanks,

greg k-h