Re: [PATCH 6/7] fs/sysfs/group: make attribute_group pointers const

From: Max Kellermann
Date: Tue Oct 10 2023 - 03:39:17 EST


On Tue, Oct 10, 2023 at 8:48 AM Joe Perches <joe@xxxxxxxxxxx> wrote:
> My opinion is that const use in the kernel should almost
> always have whitespace before and after it except when
> preceded by a open parenthesis or a newline.

So it shall be "void * const foo" (16k occurrences in the kernel)
instead of "void *const foo" (3k occurrences)?