Re: [Patch v2] staging: rtl8723bs: os_dep: ioctl_linux: make use of kzalloc

From: Greg Kroah-Hartman
Date: Tue Jun 18 2019 - 03:02:56 EST


On Tue, Jun 18, 2019 at 07:14:10AM +0530, Hariprasad Kelam wrote:
> kmalloc with memset can be replaced with kzalloc.

Yes, but did you audit the call-paths of this to ensure that GFP_KERNEL
is the correct value for kzalloc() here? If so, please document that in
the changelog.

thanks,

greg k-h