2023-10-13 01:49:21

by chenguohua

[permalink] [raw]
Subject: [PATCH] etherdevice: Clean up errors in etherdevice.h

Fix the following errors reported by checkpatch:

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

Signed-off-by: GuoHua Cheng <[email protected]>
---
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


2023-10-14 00:15:02

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH] etherdevice: Clean up errors in etherdevice.h

On Fri, 13 Oct 2023 09:47:22 +0800 (GMT+08:00) [email protected] 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