From nobody Fri Feb 13 09:29:27 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AB295E7F15E for ; Wed, 27 Sep 2023 03:55:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229638AbjI0DzN (ORCPT ); Tue, 26 Sep 2023 23:55:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38110 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbjI0Dyj (ORCPT ); Tue, 26 Sep 2023 23:54:39 -0400 X-Greylist: delayed 101 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 26 Sep 2023 20:40:44 PDT Received: from jari.cn (unknown [218.92.28.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 02E0472A5; Tue, 26 Sep 2023 20:40:43 -0700 (PDT) Received: from chenguohua$jari.cn ( [182.148.12.31] ) by ajax-webmail-localhost.localdomain (Coremail) ; Wed, 27 Sep 2023 11:37:30 +0800 (GMT+08:00) X-Originating-IP: [182.148.12.31] Date: Wed, 27 Sep 2023 11:37:30 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: chenguohua@jari.cn To: edumazet@google.com, kuba@kernel.org, pabeni@redhat.com Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] netdev: Clean up errors in netdevice.h X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT6 build 20230419(ff23bf83) Copyright (c) 2002-2023 www.mailtech.cn mispb-4e503810-ca60-4ec8-a188-7102c18937cf-zhkzyfz.cn Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Message-ID: <2de2b453.859.18ad4b697c8.Coremail.chenguohua@jari.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwDXaD56oxNlRNC9AA--.563W X-CM-SenderInfo: xfkh0w5xrk3tw6md2xgofq/1tbiAQAFEWFEYxtJMwAFs3 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Fix the following errors reported by checkpatch: ERROR: that open brace { should be on the previous line ERROR: spaces required around that '=3D' (ctx:VxV) Signed-off-by: GuoHua Cheng --- include/linux/netdevice.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 7e520c14eb8c..551372f42be6 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -2306,7 +2306,7 @@ struct net_device { =20 struct list_head link_watch_list; =20 - enum { NETREG_UNINITIALIZED=3D0, + enum { NETREG_UNINITIALIZED =3D 0, NETREG_REGISTERED, /* completed register_netdevice */ NETREG_UNREGISTERING, /* called unregister_netdevice */ NETREG_UNREGISTERED, /* completed unregister todo */ @@ -2501,8 +2501,7 @@ struct netdev_queue *netdev_get_tx_queue(const struct= net_device *dev, } =20 static inline struct netdev_queue *skb_get_tx_queue(const struct net_devic= e *dev, - const struct sk_buff *skb) -{ + const struct sk_buff *skb) { return netdev_get_tx_queue(dev, skb_get_queue_mapping(skb)); } =20 --=20 2.17.1