Skip to content

Commit 7b6889f

Browse files
YuKuai-huaweitorvalds
authored andcommitted
mm/kasan/init.c: fix doc warning
Fix gcc W=1 warning: mm/kasan/init.c:228: warning: Function parameter or member 'shadow_start' not described in 'kasan_populate_early_shadow' mm/kasan/init.c:228: warning: Function parameter or member 'shadow_end' not described in 'kasan_populate_early_shadow' Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Yu Kuai <[email protected]> Acked-by: Andrey Ryabinin <[email protected]> Cc: Zhang Yi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 263e88d commit 7b6889f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mm/kasan/init.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ static int __ref zero_p4d_populate(pgd_t *pgd, unsigned long addr,
220220
/**
221221
* kasan_populate_early_shadow - populate shadow memory region with
222222
* kasan_early_shadow_page
223-
* @shadow_start - start of the memory range to populate
224-
* @shadow_end - end of the memory range to populate
223+
* @shadow_start: start of the memory range to populate
224+
* @shadow_end: end of the memory range to populate
225225
*/
226226
int __ref kasan_populate_early_shadow(const void *shadow_start,
227227
const void *shadow_end)

0 commit comments

Comments
 (0)