lkml.org 
[lkml]   [2020]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] riscv: adjust the indent
From
Date
On Fri, 2020-02-07 at 17:52 +0800, Zong Li wrote:
> Adjust the indent to match Linux coding style.

trivia:

> diff --git a/arch/riscv/mm/kasan_init.c b/arch/riscv/mm/kasan_init.c
[]
> @@ -86,7 +89,8 @@ void __init kasan_init(void)
> unsigned long i;
>
> kasan_populate_early_shadow((void *)KASAN_SHADOW_START,
> - (void *)kasan_mem_to_shadow((void *)VMALLOC_END));
> + (void *)kasan_mem_to_shadow((void *)
> + VMALLOC_END));

could also remove an unnecessary (void *) as kasan_mem_to_shadow
returns a void *

kasan_populate_early_shadow((void *)KASAN_SHADOW_START,
kasan_mem_to_shadow((void *)VMALLOC_END));

\
 
 \ /
  Last update: 2020-02-07 12:00    [W:0.266 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site