2023-09-12 18:55:34

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: [PATCH v2] uapi: fix __DECLARE_FLEX_ARRAY for C++

On Mon, Sep 11, 2023 at 08:19:20AM +0000, David Laight wrote:
> ...
> > Okay, can you please split the patch so they can be backported
> > separately? Then I'll get them landed, etc.
>
> Since the header with just the extra #endif is badly broken on C++
> isn't it best to ensure they get back-ported together?
> So one patch is probably better.

Header guard misplacement is not a bug, file ends with:

#ifndef __counted_by
#define __counted_by(m)
#endif

it is just looks confusing in the diff.