Re: [PATCH v3] checkpatch: ignore warning designated initializers using NR_CPUS

2020-12-30 Thread Joe Perches
On Wed, 2020-12-30 at 20:29 +0800, Peng Wang wrote: > Some max_length wants to hold as large room as possible to > ensure enough size to tackle with the biggest NR_CPUS. > An example below: > > kernel/cgroup/cpuset.c: > static struct cftype legacy_files[] = { > { > .name =

[PATCH v3] checkpatch: ignore warning designated initializers using NR_CPUS

2020-12-30 Thread Peng Wang
Some max_length wants to hold as large room as possible to ensure enough size to tackle with the biggest NR_CPUS. An example below: kernel/cgroup/cpuset.c: static struct cftype legacy_files[] = { { .name = "cpus", .seq_show = cpuset_common_seq_show,