Re: checkpatch: false positive "Alignment should match open parenthesis" with struct_group_tagged()
From: Joe Perches
Date: Sat Nov 21 2026 - 16:51:16 EST
On Sat, 2026-11-21 at 22:37 +0100, Marc Kleine-Budde wrote:
> Hello,
Hello to you.
> it seems that all users of struct_group_tagged() in the kernel indent
> with 1 tab, like this:
>
> > struct gs_host_frame {
> > struct_group_tagged(gs_host_frame_header, header,
> > u32 echo_id;
> > __le32 can_id;
> >
> > u8 can_dlc;
> > u8 channel;
> > u8 flags;
> > u8 reserved;
> > );
Thanks for the report, but I don't care.
It's just an unusual macro mechanism.
include/linux/stddef.h:#define struct_group_tagged(TAG, NAME, MEMBERS...) \
etc..,