Re: [PATCH net-next v12 13/13] netlink: specs: tsinfo: Enhance netlink attributes and add a set command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux