mirror of https://github.com/torvalds/linux.git
tools: ynl-gen: add regeneration comment
Add a comment on regeneration to the generated files. The comment is placed after the YNL-GEN line[1], as to not interfere with ynl-regen.sh's detection logic. [1] and after the optional YNL-ARG line. Link: https://lore.kernel.org/r/aR5m174O7pklKrMR@zx2c4.com/ Suggested-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net> Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Link: https://patch.msgid.link/20251120174429.390574-3-ast@fiberby.net Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
17fa6ee35b
commit
68e83f3472
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/binder.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/binder.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_BINDER_GEN_H
|
||||
#define _LINUX_BINDER_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/dpll.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/dpll.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_DPLL_GEN_H
|
||||
#define _LINUX_DPLL_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/ovpn.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/ovpn.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_OVPN_GEN_H
|
||||
#define _LINUX_OVPN_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/team.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/team.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_TEAM_GEN_H
|
||||
#define _LINUX_TEAM_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/lockd.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/lockd.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_LOCKD_GEN_H
|
||||
#define _LINUX_LOCKD_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/nfsd.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/nfsd.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_NFSD_GEN_H
|
||||
#define _LINUX_NFSD_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/binder.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_ANDROID_BINDER_NETLINK_H
|
||||
#define _UAPI_LINUX_ANDROID_BINDER_NETLINK_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/dpll.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_DPLL_H
|
||||
#define _UAPI_LINUX_DPLL_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/ethtool.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_ETHTOOL_NETLINK_GENERATED_H
|
||||
#define _UAPI_LINUX_ETHTOOL_NETLINK_GENERATED_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/fou.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_FOU_H
|
||||
#define _UAPI_LINUX_FOU_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/handshake.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_HANDSHAKE_H
|
||||
#define _UAPI_LINUX_HANDSHAKE_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/team.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_IF_TEAM_H
|
||||
#define _UAPI_LINUX_IF_TEAM_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/lockd.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_LOCKD_NETLINK_H
|
||||
#define _UAPI_LINUX_LOCKD_NETLINK_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/mptcp_pm.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_MPTCP_PM_H
|
||||
#define _UAPI_LINUX_MPTCP_PM_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/net_shaper.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_NET_SHAPER_H
|
||||
#define _UAPI_LINUX_NET_SHAPER_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/netdev.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_NETDEV_H
|
||||
#define _UAPI_LINUX_NETDEV_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/nfsd.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_NFSD_NETLINK_H
|
||||
#define _UAPI_LINUX_NFSD_NETLINK_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/ovpn.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_OVPN_H
|
||||
#define _UAPI_LINUX_OVPN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/psp.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_PSP_H
|
||||
#define _UAPI_LINUX_PSP_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/netdev.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/netdev.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_NETDEV_GEN_H
|
||||
#define _LINUX_NETDEV_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/devlink.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/devlink.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_DEVLINK_GEN_H
|
||||
#define _LINUX_DEVLINK_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/handshake.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/handshake.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_HANDSHAKE_GEN_H
|
||||
#define _LINUX_HANDSHAKE_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/fou.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/fou.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_FOU_GEN_H
|
||||
#define _LINUX_FOU_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/mptcp_pm.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/mptcp_pm.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_MPTCP_PM_GEN_H
|
||||
#define _LINUX_MPTCP_PM_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/psp.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/psp.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_PSP_GEN_H
|
||||
#define _LINUX_PSP_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/net_shaper.yaml */
|
||||
/* YNL-GEN kernel source */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#include <net/netlink.h>
|
||||
#include <net/genetlink.h>
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/net_shaper.yaml */
|
||||
/* YNL-GEN kernel header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _LINUX_NET_SHAPER_GEN_H
|
||||
#define _LINUX_NET_SHAPER_GEN_H
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
/* Do not edit directly, auto-generated from: */
|
||||
/* Documentation/netlink/specs/netdev.yaml */
|
||||
/* YNL-GEN uapi header */
|
||||
/* To regenerate run: tools/net/ynl/ynl-regen.sh */
|
||||
|
||||
#ifndef _UAPI_LINUX_NETDEV_H
|
||||
#define _UAPI_LINUX_NETDEV_H
|
||||
|
|
|
|||
|
|
@ -3442,6 +3442,7 @@ def main():
|
|||
if args.fn_prefix:
|
||||
line += f' --function-prefix {args.fn_prefix}'
|
||||
cw.p(f'/* YNL-ARG{line} */')
|
||||
cw.p('/* To regenerate run: tools/net/ynl/ynl-regen.sh */')
|
||||
cw.nl()
|
||||
|
||||
if args.mode == 'uapi':
|
||||
|
|
|
|||
Loading…
Reference in New Issue