[PATCH] etherdevice: Clean up errors in etherdevice.h

chenguohua@jari.cn posted 1 patch 2 years, 2 months ago
include/linux/etherdevice.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] etherdevice: Clean up errors in etherdevice.h
Posted by chenguohua@jari.cn 2 years, 2 months ago
Fix the following errors reported by checkpatch:

ERROR: that open brace { should be on the previous line

Signed-off-by: GuoHua Cheng <chenguohua@jari.cn>
---
 include/linux/etherdevice.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h
index 224645f17c33..30fc3bc0eb09 100644
--- a/include/linux/etherdevice.h
+++ b/include/linux/etherdevice.h
@@ -67,8 +67,7 @@ struct sk_buff *eth_gro_receive(struct list_head *head, struct sk_buff *skb);
 int eth_gro_complete(struct sk_buff *skb, int nhoff);
 
 /* Reserved Ethernet Addresses per IEEE 802.1Q */
-static const u8 eth_reserved_addr_base[ETH_ALEN] __aligned(2) =
-{ 0x01, 0x80, 0xc2, 0x00, 0x00, 0x00 };
+static const u8 eth_reserved_addr_base[ETH_ALEN] __aligned(2) = { 0x01, 0x80, 0xc2, 0x00, 0x00, 0x00 };
 #define eth_stp_addr eth_reserved_addr_base
 
 /**
-- 
2.17.1
Re: [PATCH] etherdevice: Clean up errors in etherdevice.h
Posted by Jakub Kicinski 2 years, 2 months ago
On Fri, 13 Oct 2023 09:47:22 +0800 (GMT+08:00) chenguohua@jari.cn wrote:
> Fix the following errors reported by checkpatch:
> 
> ERROR: that open brace { should be on the previous line

Please do not send any checkpatch fixes to networking.
-- 
pw-bot: reject