On Tue, 30 Apr 2024 17:49:56 +0200 Kory Maincent wrote:
> + -
> + name: hwtst-provider
> + type: nest
> + nested-attributes: tsinfo-hwtst-provider
> + -
> + name: hwtst-flags
> + type: u32
C code is unhappy about the naming here vs what the actual C enums
are called (make -C tools/net/ynl)
You can keep the shorter names if very strongly prefer (????↔️) but then
you need to give C code gen hints about naming:
https://docs.kernel.org/next/userspace-api/netlink/c-code-gen.html
On Wed, 1 May 2024 19:14:07 -0700
Jakub Kicinski <[email protected]> wrote:
> On Tue, 30 Apr 2024 17:49:56 +0200 Kory Maincent wrote:
> > + -
> > + name: hwtst-provider
> > + type: nest
> > + nested-attributes: tsinfo-hwtst-provider
> > + -
> > + name: hwtst-flags
> > + type: u32
>
> C code is unhappy about the naming here vs what the actual C enums
> are called (make -C tools/net/ynl)
Thanks I didn't know that check.
It allows me to fix several name issue!
Regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com