netlink: specs: allow uapi-header in genetlink
Subsystems (3)
Jakub Kicinski
maintainerPATCH 1/1 netlink: specs: allow uapi-header in genetlink
Chuck wanted to put the UAPI header in linux/net/ which seems reasonable, allow genetlink families to choose the location. It doesn't really matter for non-C-like languages.
Signed-off-by Jakub Kicinski <[email protected]>
--- Documentation/netlink/genetlink-c.yaml | 2 +- Documentation/netlink/genetlink-legacy.yaml | 2 +- Documentation/netlink/genetlink.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-)
Documentation/netlink/genetlink-c.yaml +1 -1
@@ -33,10 +33,10 @@ additionalProperties: False protocol: description: Schema compatibility level. Default is "genetlink". enum: [ genetlink, genetlink-c ] - # Start genetlink-c uapi-header: description: Path to the uAPI header, default is linux/${family-name}.h type: string + # Start genetlink-c c-family-name: description: Name of the define for the family name. type: string
Documentation/netlink/genetlink-legacy.yaml +1 -1
@@ -33,10 +33,10 @@ additionalProperties: False protocol: description: Schema compatibility level. Default is "genetlink". enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim - # Start genetlink-c uapi-header: description: Path to the uAPI header, default is linux/${family-name}.h type: string + # Start genetlink-c c-family-name: description: Name of the define for the family name. type: string
Documentation/netlink/genetlink.yaml +3 -0
@@ -33,6 +33,9 @@ additionalProperties: False protocol: description: Schema compatibility level. Default is "genetlink". enum: [ genetlink ] + uapi-header: + description: Path to the uAPI header, default is linux/${family-name}.h + type: string definitions: description: List of type and constant definitions (enums, flags, defines).
Signature · 1 line
2.39.2
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by David S. Miller <[email protected]>:
Quoted 10 lines · On Wed, 15 Mar 2023 21:50:27 -0700 you wrote:
Chuck wanted to put the UAPI header in linux/net/ which seems reasonable, allow genetlink families to choose the location. It doesn't really matter for non-C-like languages.
Signed-off-by Jakub Kicinski <[email protected]>--- Documentation/netlink/genetlink-c.yaml | 2 +- Documentation/netlink/genetlink-legacy.yaml | 2 +- Documentation/netlink/genetlink.yaml | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-)
Here is the summary with links:
- [net-next] netlink: specs: allow uapi-header in genetlink
https://git.kernel.org/netdev/net-next/c/82b3297009b6
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html