From mboxrd@z Thu Jan 1 00:00:00 1970 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=-8.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 DA8BCC433E2 for ; Mon, 7 Sep 2020 03:32:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9D37A20DD4 for ; Mon, 7 Sep 2020 03:32:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="IN/oONUe" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726445AbgIGDcj (ORCPT ); Sun, 6 Sep 2020 23:32:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726318AbgIGDci (ORCPT ); Sun, 6 Sep 2020 23:32:38 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42146C061573 for ; Sun, 6 Sep 2020 20:32:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:In-Reply-To:References; bh=Gt131uc5X3x7I1V64GtgaStUf8n7gEGWgSFnqCLlg+s=; b=IN/oONUeE3W8g++8ZSqXUc4S70 Jzpk4CHw/koj22u72j21Bq5SnVOI4eS/g8gUlKIOtH0LZEamU+oJSKB9D8RBxaPU/4TNZlR1gRIvx 20o5aY7UpWpHiAhbE74Sl9OS/KNYf91eQzd4kgxcDCW3i6hUnLaQHwsTyLzPWqWvP3F8PQ8jg2k5u AJk25BkREQB5q5FCKbAx/CwDYQ72uaNXy+5gQDbsuR0UQdyPZTF8QyoKr6VbH+VowSoe1Pa3Pr4MW UwnmaqKwAJID7dzv2Xs6vAydsG3+xDqMbJvOJUFHX8g09xGD0XXG8MsLcObCHXUBw4M3U8K1UUdsT aLsfJd5A==; Received: from [2601:1c0:6280:3f0::19c2] by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kF7tS-0005jn-RP; Mon, 07 Sep 2020 03:32:35 +0000 To: "netdev@vger.kernel.org" , David Miller , Andrii Nakryiko , Alexei Starovoitov , Jakub Kicinski From: Randy Dunlap Subject: [PATCH net] netdevice.h: fix xdp_state kernel-doc warning Message-ID: Date: Sun, 6 Sep 2020 20:32:30 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Randy Dunlap Fix kernel-doc warning in : ../include/linux/netdevice.h:2158: warning: Function parameter or member 'xdp_state' not described in 'net_device' Fixes: 7f0a838254bd ("bpf, xdp: Maintain info on attached XDP BPF programs in net_device") Signed-off-by: Randy Dunlap Cc: Andrii Nakryiko Cc: Alexei Starovoitov --- include/linux/netdevice.h | 1 + 1 file changed, 1 insertion(+) --- lnx-59-rc4.orig/include/linux/netdevice.h +++ lnx-59-rc4/include/linux/netdevice.h @@ -1849,6 +1849,7 @@ enum netdev_priv_flags { * @udp_tunnel_nic_info: static structure describing the UDP tunnel * offload capabilities of the device * @udp_tunnel_nic: UDP tunnel offload state + * @xdp_state: stores info on attached XDP BPF programs * * FIXME: cleanup struct net_device such that network protocol info * moves out.