Re: [PATCH] iio: test: rescale: check null return of kunit_kmalloc
From: Markus Elfring
Date: Tue Oct 29 2024 - 16:56:46 EST
> kunit_kmalloc may fail, return might be NULL and will cause
> NULL pointer dereference later.
* Please choose an imperative wording for an improved change description.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.12-rc5#n94
* How do you think about 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