Re: [PATCH 1/3] lkdtm/fortify: Check possible NULL pointer returned by kmalloc()

From: Greg KH
Date: Mon Jul 25 2022 - 04:41:29 EST


On Mon, Jul 25, 2022 at 04:10:00PM +0800, Ren Yu wrote:
> As the possible alloc failure of the kmalloc(),the return pointer
> could be NULL,therefore it should be better to check it.
>
> Signed-off-by: Ren Yu <renyu@xxxxxxxxxxxx>
> ---
> drivers/misc/lkdtm/fortify.c | 3 +++
> 1 file changed, 3 insertions(+)

For some reason this patch series is not properly threaded, so our tools
can not pick them up automatically. Can you please resend them threaded
properly (git send-email can do this for you)?

thanks,

greg k-h