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/20210603140700.3045298-1-yukuai3@huawei.com Signed-off-by: Yu Kuai <yukuai3@huawei.com> Acked-by: Andrey Ryabinin <ryabinin.a.a@gmail.com> Cc: Zhang Yi <yi.zhang@huawei.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 263e88d commit 7b6889f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)