Skip to contentSkip to conversation

tools: ynl: fix the header guard name for OVPN

PATCH Applied Jakub Kicinski 5 participants 5 messages Apr 23, 2025 – Apr 25, 2025

Subsystems (3)
lore
Share & tools
lore

Jakub Kicinski

author maintainer
#0 lore raw

PATCH 1/1 tools: ynl: fix the header guard name for OVPN

Thorsten reports that after upgrading system headers from linux-next the YNL build breaks. I typo'ed the header guard, _H is missing.

Fixes 12b196568a3a ("tools: ynl: add missing header deps")

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 tools/net/ynl/Makefile.deps | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/net/ynl/Makefile.deps +1 -1
index 8b7bf673b686..a5e6093903fb 100644
@@ -27,7 +27,7 @@ CFLAGS_netdev:=$(call get_hdr_inc,_LINUX_NETDEV_H,netdev.h)
 CFLAGS_nl80211:=$(call get_hdr_inc,__LINUX_NL802121_H,nl80211.h)
 CFLAGS_nlctrl:=$(call get_hdr_inc,__LINUX_GENERIC_NETLINK_H,genetlink.h)
 CFLAGS_nfsd:=$(call get_hdr_inc,_LINUX_NFSD_NETLINK_H,nfsd_netlink.h)
-CFLAGS_ovpn:=$(call get_hdr_inc,_LINUX_OVPN,ovpn.h)
+CFLAGS_ovpn:=$(call get_hdr_inc,_LINUX_OVPN_H,ovpn.h)
 CFLAGS_ovs_datapath:=$(call get_hdr_inc,__LINUX_OPENVSWITCH_H,openvswitch.h)
 CFLAGS_ovs_flow:=$(call get_hdr_inc,__LINUX_OPENVSWITCH_H,openvswitch.h)
 CFLAGS_ovs_vport:=$(call get_hdr_inc,__LINUX_OPENVSWITCH_H,openvswitch.h)
Signature · 1 line
2.49.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 43 lines

-----Original Message-----
From: Jakub Kicinski <[email protected]>
Sent: Wednesday, April 23, 2025 3:03 PM
To: [email protected]
Cc: [email protected]; Dumazet, Eric <[email protected]>; [email protected]; [email protected]; [email protected]; Jakub Kicinski <[email protected]>; Thorsten Leemhuis <[email protected]>; [email protected]; Keller, Jacob E <[email protected]>; [email protected]; [email protected]
Subject: [PATCH net-next] tools: ynl: fix the header guard name for OVPN

Thorsten reports that after upgrading system headers from linux-next the YNL build breaks. I typo'ed the header guard, _H is missing.

[email protected]

Fixes 12b196568a3a ("tools: ynl: add missing header deps")

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 tools/net/ynl/Makefile.deps | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/net/ynl/Makefile.deps +1 -1
index 8b7bf673b686..a5e6093903fb 100644
@@ -27,7 +27,7 @@ CFLAGS_netdev:=$(call
 get_hdr_inc,_LINUX_NETDEV_H,netdev.h)
 CFLAGS_nl80211:=$(call get_hdr_inc,__LINUX_NL802121_H,nl80211.h)
 CFLAGS_nlctrl:=$(call get_hdr_inc,__LINUX_GENERIC_NETLINK_H,genetlink.h)
 CFLAGS_nfsd:=$(call get_hdr_inc,_LINUX_NFSD_NETLINK_H,nfsd_netlink.h)
-CFLAGS_ovpn:=$(call get_hdr_inc,_LINUX_OVPN,ovpn.h)
+CFLAGS_ovpn:=$(call get_hdr_inc,_LINUX_OVPN_H,ovpn.h)
 CFLAGS_ovs_datapath:=$(call
 get_hdr_inc,__LINUX_OPENVSWITCH_H,openvswitch.h)
Quoted 5 lines

CFLAGS_ovs_flow:=$(call get_hdr_inc,__LINUX_OPENVSWITCH_H,openvswitch.h) CFLAGS_ovs_vport:=$(call
get_hdr_inc,__LINUX_OPENVSWITCH_H,openvswitch.h)
--
2.49.0

Reviewed-by on v1 1/1
#3 lore raw
In reply to Jakub Kicinski
Quoted 7 lines · Jakub Kicinski

Thorsten reports that after upgrading system headers from linux-next the YNL build breaks. I typo'ed the header guard, _H is missing.

Fixes 12b196568a3a ("tools: ynl: add missing header deps")
Quoted 8 lines

---
CC: [email protected]
CC: [email protected]
CC: [email protected]
CC: [email protected]

---
 tools/net/ynl/Makefile.deps | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
#4 lore raw
In reply to Jakub Kicinski
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Wed, 23 Apr 2025 15:02:31 -0700 you wrote:

Thorsten reports that after upgrading system headers from linux-next the YNL build breaks. I typo'ed the header guard, _H is missing.

Fixes 12b196568a3a ("tools: ynl: add missing header deps")

[...]

Here is the summary with links:
- [net-next] tools: ynl: fix the header guard name for OVPN

    https://git.kernel.org/netdev/net-next/c/f74d14a7dfb1

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html