diff mbox series

netlink: typographical error in nlmsg_type constants definition

Message ID 20241103223950.230300-1-mauricelambert434@gmail.com (mailing list archive)
State Accepted
Commit 84bfbfbbd32aee136afea4b6bf82581dce79c305
Headers show
Series netlink: typographical error in nlmsg_type constants definition | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Maurice Lambert Nov. 3, 2024, 10:39 p.m. UTC
This commit fix a typographical error in netlink nlmsg_type constants definition in the include/uapi/linux/rtnetlink.h at line 177. The definition is RTM_NEWNVLAN RTM_NEWVLAN instead of RTM_NEWVLAN RTM_NEWVLAN.

Signed-off-by: Maurice Lambert <mauricelambert434@gmail.com>
---
 include/uapi/linux/rtnetlink.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Hemminger Nov. 3, 2024, 10:45 p.m. UTC | #1
On Sun,  3 Nov 2024 23:39:50 +0100
Maurice Lambert <mauricelambert434@gmail.com> wrote:

> This commit fix a typographical error in netlink nlmsg_type constants definition in the include/uapi/linux/rtnetlink.h at line 177. The definition is RTM_NEWNVLAN RTM_NEWVLAN instead of RTM_NEWVLAN RTM_NEWVLAN.
> 
> Signed-off-by: Maurice Lambert <mauricelambert434@gmail.com>
> ---
>  include/uapi/linux/rtnetlink.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
> index 3b687d20c9ed..db7254d52d93 100644
> --- a/include/uapi/linux/rtnetlink.h
> +++ b/include/uapi/linux/rtnetlink.h
> @@ -174,7 +174,7 @@ enum {
>  #define RTM_GETLINKPROP	RTM_GETLINKPROP
>  
>  	RTM_NEWVLAN = 112,
> -#define RTM_NEWNVLAN	RTM_NEWVLAN
> +#define RTM_NEWVLAN	RTM_NEWVLAN
>  	RTM_DELVLAN,
>  #define RTM_DELVLAN	RTM_DELVLAN
>  	RTM_GETVLAN,

Fixes: 8dcea187088b ("net: bridge: vlan: add rtm definitions and dump support")
patchwork-bot+netdevbpf@kernel.org Nov. 6, 2024, 1:40 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sun,  3 Nov 2024 23:39:50 +0100 you wrote:
> This commit fix a typographical error in netlink nlmsg_type constants definition in the include/uapi/linux/rtnetlink.h at line 177. The definition is RTM_NEWNVLAN RTM_NEWVLAN instead of RTM_NEWVLAN RTM_NEWVLAN.
> 
> Signed-off-by: Maurice Lambert <mauricelambert434@gmail.com>
> ---
>  include/uapi/linux/rtnetlink.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - netlink: typographical error in nlmsg_type constants definition
    https://git.kernel.org/netdev/net-next/c/84bfbfbbd32a

You are awesome, thank you!
diff mbox series

Patch

diff --git a/include/uapi/linux/rtnetlink.h b/include/uapi/linux/rtnetlink.h
index 3b687d20c9ed..db7254d52d93 100644
--- a/include/uapi/linux/rtnetlink.h
+++ b/include/uapi/linux/rtnetlink.h
@@ -174,7 +174,7 @@  enum {
 #define RTM_GETLINKPROP	RTM_GETLINKPROP
 
 	RTM_NEWVLAN = 112,
-#define RTM_NEWNVLAN	RTM_NEWVLAN
+#define RTM_NEWVLAN	RTM_NEWVLAN
 	RTM_DELVLAN,
 #define RTM_DELVLAN	RTM_DELVLAN
 	RTM_GETVLAN,