Skip to contentSkip to conversation

treewide: Fix typo in ARPHRD_PHONET_PIPE

PATCH Applied Denis Kenzior 2 participants 2 messages Nov 18, 2024 – Nov 19, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 treewide: Fix typo in ARPHRD_PHONET_PIPE

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(-)
src/rtnl.c +4 -4
index 64ba6086404e..d49ea4d445f4 100644
@@ -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);
vpn/vpn-rtnl.c +3 -3
index a6b078586f25..b62e58a89d5d 100644
@@ -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);
Signature · 1 line
2.47.0
#1 lore raw
This patch was applied to connman.git (master) by Denis Kenzior <[email protected]>:

Hello:

This patch was applied to connman.git (master)
by Denis Kenzior <[email protected]>:

Quoted 5 lines · 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!

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