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

From: Max Kellermann
Date: Mon Oct 09 2023 - 16:20:35 EST


On Mon, Oct 9, 2023 at 7:26 PM Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> "*const*groups"? That's a parsing nightmare, really hard for humans to
> read and understand. Doesn't checkpatch complain about this?

No, checkpatch does not implement a check/warning for this style (see
my other email). There's no rule for this in coding-style.rst. Should
there be one?