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

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Jun 18 06:57:53 UTC 2019

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.


greg k-h

More information about the devel mailing list