netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] etherdevice: Clean up errors in etherdevice.h
@ 2023-10-13  1:47 chenguohua
  2023-10-14  0:14 ` Jakub Kicinski
  0 siblings, 1 reply; 2+ messages in thread
From: chenguohua @ 2023-10-13  1:47 UTC (permalink / raw)
  To: davem, edumazet, kuba, pabeni; +Cc: netdev, linux-kernel

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] etherdevice: Clean up errors in etherdevice.h
  2023-10-13  1:47 [PATCH] etherdevice: Clean up errors in etherdevice.h chenguohua
@ 2023-10-14  0:14 ` Jakub Kicinski
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Kicinski @ 2023-10-14  0:14 UTC (permalink / raw)
  To: chenguohua; +Cc: davem, edumazet, pabeni, netdev, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-10-14  0:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-13  1:47 [PATCH] etherdevice: Clean up errors in etherdevice.h chenguohua
2023-10-14  0:14 ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).