[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fdcfd8548707e2d6c61fc9739bc91c6720673c81.camel@perches.com>
Date: Fri, 07 Feb 2020 02:58:25 -0800
From: Joe Perches <joe@...ches.com>
To: Zong Li <zong.li@...ive.com>, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] riscv: adjust the indent
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));
Powered by blists - more mailing lists