public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: wangjingyu <wangjingyu@uniontech.com>
Cc: paulmck@kernel.org, ebiederm@xmission.com, keescook@chromium.org,
	elver@google.com, rppt@kernel.org, samitolvanen@google.com,
	axboe@kernel.dk, a.darwish@linutronix.de,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] init/init_task.c spaces required around that '='
Date: Fri, 26 Feb 2021 09:19:23 +0100	[thread overview]
Message-ID: <YDivC1LYwOleJ7n/@hirez.programming.kicks-ass.net> (raw)
In-Reply-To: <20210226070900.17730-1-wangjingyu@uniontech.com>

On Fri, Feb 26, 2021 at 03:09:00PM +0800, wangjingyu wrote:
> Ensure checkpatch compliance
> 
> Signed-off-by: wangjingyu <wangjingyu@uniontech.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
> 
> 
> 

      reply	other threads:[~2021-02-26  8:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-26  7:09 [PATCH] init/init_task.c spaces required around that '=' wangjingyu
2021-02-26  8:19 ` Peter Zijlstra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YDivC1LYwOleJ7n/@hirez.programming.kicks-ass.net \
    --to=peterz@infradead.org \
    --cc=a.darwish@linutronix.de \
    --cc=axboe@kernel.dk \
    --cc=ebiederm@xmission.com \
    --cc=elver@google.com \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@kernel.org \
    --cc=rppt@kernel.org \
    --cc=samitolvanen@google.com \
    --cc=wangjingyu@uniontech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox