[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YDivC1LYwOleJ7n/@hirez.programming.kicks-ass.net>
Date: Fri, 26 Feb 2021 09:19:23 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: wangjingyu <wangjingyu@...ontech.com>
Cc: paulmck@...nel.org, ebiederm@...ssion.com, keescook@...omium.org,
elver@...gle.com, rppt@...nel.org, samitolvanen@...gle.com,
axboe@...nel.dk, a.darwish@...utronix.de,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] init/init_task.c spaces required around that '='
On Fri, Feb 26, 2021 at 03:09:00PM +0800, wangjingyu wrote:
> Ensure checkpatch compliance
>
> Signed-off-by: wangjingyu <wangjingyu@...ontech.com>
> ---
> init/init_task.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/init/init_task.c b/init/init_task.c
> index 15f6eb93a04f..0f995118c6c0 100644
> --- a/init/init_task.c
> +++ b/init/init_task.c
> @@ -81,7 +81,7 @@ struct task_struct init_task
> .policy = SCHED_NORMAL,
> .cpus_ptr = &init_task.cpus_mask,
> .cpus_mask = CPU_MASK_ALL,
> - .nr_cpus_allowed= NR_CPUS,
> + .nr_cpus_allowed = NR_CPUS,
Screw checkpatch, this breaks alignment.
> .mm = NULL,
> .active_mm = &init_mm,
> .restart_block = {
> --
> 2.11.0
>
>
>
Powered by blists - more mailing lists