Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp2308894rdh; Tue, 26 Sep 2023 21:05:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFu99F+V96chew+Wn8U+JffJ/jTsQ329h8p+8BGHLYfhe4114l+qGqE/zvAys9J1Z5658On X-Received: by 2002:a25:d4d7:0:b0:d62:a199:fb18 with SMTP id m206-20020a25d4d7000000b00d62a199fb18mr841858ybf.60.1695787517240; Tue, 26 Sep 2023 21:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695787517; cv=none; d=google.com; s=arc-20160816; b=vis8teug0XIKfDwZvLmhKVh5J0THG4RcBGrciB8Wvdf3KRLT6DI/5J07Q+mAHtxXLQ NISZ+C1f8sy3xNr7hO0yMzVyca9pB0FcWWUW62bgGUimyW8V9MLEcjES7xRNU6SXQx6b p1UggK6VAKfsc5n27hL8+tQUImdWwF3HI/iUZrhWzJYBoKEybAyVRKQp5oPIEF82I9ph 1lkWGDHhWbROnK89xYRcNZBUTBIJi1Mc3bdjUJMGMOY+Z4WZTwGDecAF6ZV42lPUGz/l YZ1/xmoQjCSq/+c0OSMW7UzGn8jXYMXTDgm8oYH6Q1e2+oeLfdzeFlkAJCuXbS3m4pFi 1p2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:subject:cc:to:from:date; bh=UGv9fUUjx1JydiIjiE3/oxQ0L+9HKX/IczXgDSeV74Y=; fh=qkM5yovA0eslDhXCr9NotsA9qq/aA6NLZxrTTkGjqMg=; b=VQN30KOfwdPcQ5j99mEDyvEEvljyXHF8Wj68ZLoLK28Olmkuxa3nOo3mUqnNBtUbTg JNC87ZSDPP/eqc/b7xTqAhm2Bhye5jqSFtc9N8o/WZaPsSkPFngptKc/nsB5Ww8doZTk glcFAkuZYTiDLheCsks7EOHNPcY6i/1vlglmCFLh67cB13+sIELwyChUuno2EE/KHgAm 1Zjr7MkHElpxVLTx2xYDMHbBLKhQO1NEXpcXyB6SS6UufxPdtFFv0WdYibMrg0eTvlr4 jW3kId9BbOI6Zhn3dPMKU24jEPT8lTg5DaRawUQ0CY8udJfYde+XxbiPo7UdGcZ7fRC5 zQiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id l63-20020a638842000000b00578a9529cfasi14212415pgd.87.2023.09.26.21.05.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Sep 2023 21:05:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id F10738027F2B; Tue, 26 Sep 2023 20:55:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229630AbjI0DzL (ORCPT + 99 others); Tue, 26 Sep 2023 23:55:11 -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: base64 Content-Type: text/plain; charset=UTF-8 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= X-Spam-Status: No, score=2.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_PBL,RDNS_NONE,T_SPF_HELO_PERMERROR,T_SPF_PERMERROR,XPRIO autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed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