From patchwork Fri Oct 2 05:49:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 267127 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C398BC47425 for ; Fri, 2 Oct 2020 05:50:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 826E520796 for ; Fri, 2 Oct 2020 05:50:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601617823; bh=d9jAg3Nj6JZLFhzRqkSiYIiTdyrjfTNgd8OfBC8Nm6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=NajYtrvtgcjlYYedAeJ6LYr19j1amUZJw6jtx14VZnCXRlG2WfZlHoB+6XMqatqGt Vw2sOuIm1n4MU0pib2Wg+cquh4Xax8tlmqu8wxQHVCZIFII7fZngj1n6S0XAbN13zU 5KxzUvdhw48R1Qa0wKzla0r7Xk7gTaAEDBAApOl8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726227AbgJBFuW (ORCPT ); Fri, 2 Oct 2020 01:50:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:59754 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725957AbgJBFt7 (ORCPT ); Fri, 2 Oct 2020 01:49:59 -0400 Received: from mail.kernel.org (ip5f5ad59f.dynamic.kabel-deutschland.de [95.90.213.159]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 68FA720719; Fri, 2 Oct 2020 05:49:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1601617798; bh=d9jAg3Nj6JZLFhzRqkSiYIiTdyrjfTNgd8OfBC8Nm6U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H0Ro11/CcD0alduc+ONpMk906bG5pFT+6qM5O7ZlF1B9LD0HDhtNtQy+qLsFy+H9w AO+sLiQEJZismTALlCG/Djke1Rrbe1OGjF3p2W5lGvow4V6nIwgJVHEgrE9JyIR6J3 WKJ4q2F2gEm7/9KuhqBKzlUPmZ/XDWVz18FvW9is= Received: from mchehab by mail.kernel.org with local (Exim 4.94) (envelope-from ) id 1kODx6-006hil-8a; Fri, 02 Oct 2020 07:49:56 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "David S. Miller" , "Jonathan Corbet" , Jakub Kicinski , Taehee Yoo , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 1/6] net: core: document two new elements of struct net_device Date: Fri, 2 Oct 2020 07:49:45 +0200 Message-Id: <1c6293ffd174d0301c0acb85f0e60e9edf5e4a27.1601616399.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: References: MIME-Version: 1.0 Sender: Mauro Carvalho Chehab Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org As warned by "make htmldocs", there are two new struct elements that aren't documented: ../include/linux/netdevice.h:2159: warning: Function parameter or member 'unlink_list' not described in 'net_device' ../include/linux/netdevice.h:2159: warning: Function parameter or member 'nested_level' not described in 'net_device' Fixes: 1fc70edb7d7b ("net: core: add nested_level variable in net_device") Signed-off-by: Mauro Carvalho Chehab --- include/linux/netdevice.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 78880047907e..7852921480da 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1843,6 +1843,11 @@ enum netdev_priv_flags { * @udp_tunnel_nic: UDP tunnel offload state * @xdp_state: stores info on attached XDP BPF programs * + * @nested_level: Used as as a parameter of spin_lock_nested() of + * dev->addr_list_lock. + * @unlink_list: As netif_addr_lock() can be called recursively, + * keep a list of interfaces to be deleted. + * * FIXME: cleanup struct net_device such that network protocol info * moves out. */