Re: [PATCH] net: wireless: realtek/rtw89: Add check null return of kmalloc

From: Markus Elfring
Date: Tue Oct 29 2024 - 16:43:16 EST


> kmalloc may fail, return might be NULL and will cause

value?


> NULL pointer dereference later.

* An imperative wording is more desirable for such a change description,
isn't it?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.12-rc5#n94

* Would you like to add any tags (like “Fixes” and “Cc”) accordingly?
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.12-rc5#n145


Regards,
Markus