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

Max Kellermann max.kellermann at ionos.com
Mon Oct 9 13:20:13 PDT 2023


On Mon, Oct 9, 2023 at 7:26 PM Greg Kroah-Hartman
<gregkh at linuxfoundation.org> 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?



More information about the Linux-nvme mailing list