Message ID | 22a751c6.93b.18b26b780d4.Coremail.chenguohua@jari.cn (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
Series | etherdevice: Clean up errors in etherdevice.h | expand |
Context | Check | Description |
---|---|---|
netdev/tree_selection | success | Not a local patch |
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.
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 /**
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(-)