Re: [PATCH] kmsan: headers: cleanup function and parameter names
From: Alexander Potapenko
Date: Mon Jul 20 2026 - 02:44:31 EST
On Sun, Jul 19, 2026 at 7:21 AM Randy Dunlap <rdunlap@xxxxxxxxxxxxx> wrote:
>
> Use the correct function names and function parameter name in the
> kernel-doc comments to avoid kernel-doc warnings:
>
> Warning: include/linux/kmsan.h:146 expecting prototype for
> kmsan_map_kernel_range_noflush(). Prototype was for
> kmsan_vmap_pages_range_noflush() instead
> Warning: include/linux/kmsan.h:156 expecting prototype for
> kmsan_vunmap_kernel_range_noflush(). Prototype was for
> kmsan_vunmap_range_noflush() instead
>
> Warning: include/linux/kmsan-checks.h:72 function parameter 'to_copy' not
> described in 'kmsan_memmove'
> Warning: include/linux/kmsan-checks.h:72 Excess function parameter
> 'size' description in 'kmsan_memmove'
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
> ---
> Cc: Alexander Potapenko <glider@xxxxxxxxxx>
> Cc: Marco Elver <elver@xxxxxxxxxx>
> Cc: Dmitry Vyukov <dvyukov@xxxxxxxxxx>
> Cc: kasan-dev@xxxxxxxxxxxxxxxx
Reviewed-by: Alexander Potapenko <glider@xxxxxxxxxx>