Re: [PATCH] iio: test: rescale: check null return of kunit_kmalloc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 2024/10/30 04:55, Markus Elfring wrote:
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

Hi Markus,
  Thanks for your help,I will modify the commit information and add Fixes.

Thanks!
Pei Xiao.





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux