Comment patches <alloca.h> <sys/cdefs.h> <argp.h> <unix/sysv/linux/net/ethernet.h>

Message ID 09c06ec4-de18-9ede-dd07-616652dbbdf6@jguk.org
State Superseded
Delegated to: Arjun Shankar
Headers
Series Comment patches <alloca.h> <sys/cdefs.h> <argp.h> <unix/sysv/linux/net/ethernet.h> |

Commit Message

Jonny Grant Dec. 5, 2020, 6:08 p.m. UTC
  Hello

I took the time to create these patches 25 Oct. Could someone review please?
Jonny

-------- Forwarded Message --------
Subject: 	Comment patches <alloca.h> <sys/cdefs.h> <argp.h> <unix/sysv/linux/net/ethernet.h>
Date: 	Sat, 7 Nov 2020 22:01:44 +0000
From: 	Jonny Grant <jg@jguk.org>
To: 	libc-maintainers@gnu.org



Hello

Please find attached patches emailed 25th Oct.
May I ask if someone could review and apply them?

Thank you, Jonny
Hello
Please find attached patch created against latest git.

Regards, Jonny
Hello

Please find attached patch created against latest git.

Regards, Jonny
Hello

Please find attached patch created against latest git.

Regards, Jonny
Hello

Please find attached patch created against latest git.

Regards, Jonny
  

Patch

>From d0350eba94fbf77741ad629a400e6bcf23c7f7a1 Mon Sep 17 00:00:00 2001
From: Jonny Grant <jg@jguk.org>
Date: Wed, 28 Oct 2020 23:05:48 +0000
Subject: [PATCH] Correct 'ethenet' spelling

Signed-off-by: Jonny Grant <jg@jguk.org>
---
 sysdeps/unix/sysv/linux/net/ethernet.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/net/ethernet.h b/sysdeps/unix/sysv/linux/net/ethernet.h
index f98c27c028..7ec796155a 100644
--- a/sysdeps/unix/sysv/linux/net/ethernet.h
+++ b/sysdeps/unix/sysv/linux/net/ethernet.h
@@ -56,7 +56,6 @@  struct ether_header
 #define	ETHERTYPE_IPV6		0x86dd		/* IP protocol version 6 */
 #define ETHERTYPE_LOOPBACK	0x9000		/* used to test interfaces */
 
-
 #define	ETHER_ADDR_LEN	ETH_ALEN                 /* size of ethernet addr */
 #define	ETHER_TYPE_LEN	2                        /* bytes in type field */
 #define	ETHER_CRC_LEN	4                        /* bytes in CRC field */
@@ -64,7 +63,7 @@  struct ether_header
 #define	ETHER_MIN_LEN	(ETH_ZLEN + ETHER_CRC_LEN) /* min packet length */
 #define	ETHER_MAX_LEN	(ETH_FRAME_LEN + ETHER_CRC_LEN) /* max packet length */
 
-/* make sure ethenet length is valid */
+/* make sure ethernet length is valid */
 #define	ETHER_IS_VALID_LEN(foo)	\
 	((foo) >= ETHER_MIN_LEN && (foo) <= ETHER_MAX_LEN)
 
-- 
2.25.1