* [PATCH] init/init_task.c spaces required around that '='
@ 2021-02-26 7:09 wangjingyu
2021-02-26 8:19 ` Peter Zijlstra
0 siblings, 1 reply; 2+ messages in thread
From: wangjingyu @ 2021-02-26 7:09 UTC (permalink / raw)
To: paulmck
Cc: ebiederm, keescook, elver, peterz, rppt, samitolvanen, axboe,
a.darwish, linux-kernel, wangjingyu
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,
.mm = NULL,
.active_mm = &init_mm,
.restart_block = {
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] init/init_task.c spaces required around that '='
2021-02-26 7:09 [PATCH] init/init_task.c spaces required around that '=' wangjingyu
@ 2021-02-26 8:19 ` Peter Zijlstra
0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2021-02-26 8:19 UTC (permalink / raw)
To: wangjingyu
Cc: paulmck, ebiederm, keescook, elver, rppt, samitolvanen, axboe,
a.darwish, linux-kernel
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
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-02-26 8:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-26 7:09 [PATCH] init/init_task.c spaces required around that '=' wangjingyu
2021-02-26 8:19 ` Peter Zijlstra
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.