diff mbox series

treewide: Fix typo in ARPHRD_PHONET_PIPE

Message ID 20241118163344.57123-1-denkenz@gmail.com (mailing list archive)
State Accepted
Commit 263e151fcfb09134dcf17a4147355b0ee9a5eb66
Headers show
Series treewide: Fix typo in ARPHRD_PHONET_PIPE | expand

Commit Message

Denis Kenzior Nov. 18, 2024, 4:33 p.m. UTC
This was spelled as 'ARPHDR', but should be 'ARPHRD'
---
 src/rtnl.c     | 8 ++++----
 vpn/vpn-rtnl.c | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)

Comments

patchwork-bot+connman@kernel.org Nov. 19, 2024, 5:40 p.m. UTC | #1
Hello:

This patch was applied to connman.git (master)
by Denis Kenzior <denkenz@gmail.com>:

On Mon, 18 Nov 2024 10:33:31 -0600 you wrote:
> This was spelled as 'ARPHDR', but should be 'ARPHRD'
> ---
>  src/rtnl.c     | 8 ++++----
>  vpn/vpn-rtnl.c | 6 +++---
>  2 files changed, 7 insertions(+), 7 deletions(-)

Here is the summary with links:
  - treewide: Fix typo in ARPHRD_PHONET_PIPE
    https://git.kernel.org/pub/scm/network/connman/connman.git/?id=263e151fcfb0

You are awesome, thank you!
diff mbox series

Patch

diff --git a/src/rtnl.c b/src/rtnl.c
index 64ba6086404e..d49ea4d445f4 100644
--- a/src/rtnl.c
+++ b/src/rtnl.c
@@ -42,8 +42,8 @@ 
 
 #include "connman.h"
 
-#ifndef ARPHDR_PHONET_PIPE
-#define ARPHDR_PHONET_PIPE (821)
+#ifndef ARPHRD_PHONET_PIPE
+#define ARPHRD_PHONET_PIPE (821)
 #endif
 
 #define print(arg...) do { if (0) connman_info(arg); } while (0)
@@ -448,7 +448,7 @@  static void process_newlink(unsigned short type, int index, unsigned flags,
 	switch (type) {
 	case ARPHRD_ETHER:
 	case ARPHRD_LOOPBACK:
-	case ARPHDR_PHONET_PIPE:
+	case ARPHRD_PHONET_PIPE:
 	case ARPHRD_PPP:
 	case ARPHRD_NONE:
 		__connman_ipconfig_newlink(index, type, flags,
@@ -536,7 +536,7 @@  static void process_dellink(unsigned short type, int index, unsigned flags,
 	switch (type) {
 	case ARPHRD_ETHER:
 	case ARPHRD_LOOPBACK:
-	case ARPHDR_PHONET_PIPE:
+	case ARPHRD_PHONET_PIPE:
 	case ARPHRD_PPP:
 	case ARPHRD_NONE:
 		__connman_ipconfig_dellink(index, &stats);
diff --git a/vpn/vpn-rtnl.c b/vpn/vpn-rtnl.c
index a6b078586f25..b62e58a89d5d 100644
--- a/vpn/vpn-rtnl.c
+++ b/vpn/vpn-rtnl.c
@@ -46,8 +46,8 @@ 
 
 #include "vpn-rtnl.h"
 
-#ifndef ARPHDR_PHONET_PIPE
-#define ARPHDR_PHONET_PIPE (821)
+#ifndef ARPHRD_PHONET_PIPE
+#define ARPHRD_PHONET_PIPE (821)
 #endif
 
 #define print(arg...) do { if (0) connman_info(arg); } while (0)
@@ -239,7 +239,7 @@  static void process_newlink(unsigned short type, int index, unsigned flags,
 	switch (type) {
 	case ARPHRD_ETHER:
 	case ARPHRD_LOOPBACK:
-	case ARPHDR_PHONET_PIPE:
+	case ARPHRD_PHONET_PIPE:
 	case ARPHRD_NONE:
 		__vpn_ipconfig_newlink(index, type, flags,
 							str, mtu, &stats);