From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert P. J. Day" Subject: [PATCH] correct comments for flags, priv flags in netdevice.h Date: Fri, 24 Aug 2018 19:10:20 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: Linux kernel netdev mailing list Return-path: Received: from cpanel4.indieserve.net ([199.212.143.9]:35040 "EHLO cpanel4.indieserve.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726754AbeHYCt2 (ORCPT ); Fri, 24 Aug 2018 22:49:28 -0400 Received: from cpef81d0f814063-cmf81d0f814060.cpe.net.cable.rogers.com ([174.114.57.56]:37282 helo=localhost.localdomain) by cpanel4.indieserve.net with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1ftLFz-00Gbma-6f for netdev@vger.kernel.org; Fri, 24 Aug 2018 19:12:44 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Correct the references for both flags and priv flags since they both refer to the incorrect file which contains their explanations. Signed-off-by: Robert P. J. Day --- diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index ca5ab98053c8..f01f3473bb91 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -1586,9 +1586,9 @@ enum netdev_priv_flags { * @header_ops: Includes callbacks for creating,parsing,caching,etc * of Layer 2 headers. * - * @flags: Interface flags (a la BSD) - * @priv_flags: Like 'flags' but invisible to userspace, - * see if.h for the definitions + * @flags: Interface flags (a la BSD), see if.h for definitions + * @priv_flags: Like 'flags' but invisible to userspace, see + * definitions earlier in this file * @gflags: Global flags ( kept as legacy ) * @padded: How much padding added by alloc_netdev() * @operstate: RFC2863 operstate -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca/dokuwiki Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================