Skip to contentSkip to conversation

correct comments for flags, priv flags in netdevice.h

PATCH In review Robert P. J. Day 2 participants 2 messages Aug 25, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 correct comments for flags, priv flags in netdevice.h

Correct the references for both flags and priv flags since they both refer to the incorrect file which contains their explanations.

---

include/linux/netdevice.h +3 -3
index ca5ab98053c8..f01f3473bb91 100644
@@ -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
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                  http://crashcourse.ca/dokuwiki

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
#1 lore raw
Quoted 2 lines · Robert P. J. Day

Correct the references for both flags and priv flags since they both refer to the incorrect file which contains their explanations.

Hi Robert

I'm guessing this is your first patch for Linux?

Please use git send-email to sending patches. That will avoid the signature being added, and any other mangling your email client may do.

The subject line should indicate what tree the patch is for:
[PATCH net-next] correct comments for flags, priv flags in netdevice.h

You can do this with git format-patch --subject "PATCH net-next".

And lastly, net-next is closed at the moment, because the merge window is open. DaveM will send an email when he is read to accept patches, a few days after -rc1 is out.

Andrew