Re: [PATCH 2/2] kmsan: do not pass NULL pointers as 0

From: Alexander Potapenko
Date: Fri Jun 28 2024 - 04:04:41 EST


On Thu, Jun 27, 2024 at 5:14 PM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote:
>
> sparse complains about passing NULL pointers as 0. Fix all instances.

Thanks a lot for fixing this!

> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202406272033.KejtfLkw-lkp@xxxxxxxxx/

Rant: I noticed recently that checkpatch.pl aggressively demands
having the Closes: tag follow Reported-by:, even when it is not
strictly necessary per
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes.

> Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx>
Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>