Patchwork rtnetlink: fix comments

login
register
mail settings
Submitter stephen hemminger
Date April 11, 2012, 4:32 a.m.
Message ID <20120410213259.10009908@nehalam.linuxnetplumber.net>
Download mbox | patch
Permalink /patch/151730/
State Accepted
Delegated to: David Miller
Headers show

Comments

stephen hemminger - April 11, 2012, 4:32 a.m.
Fix spelling and references in rtnetlink.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
---
v2 - fix bogus comment on get_link_af_size and add get_tx_queues

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
David Miller - April 13, 2012, 5:33 p.m.
From: Stephen Hemminger <shemminger@vyatta.com>
Date: Tue, 10 Apr 2012 21:32:59 -0700

> Fix spelling and references in rtnetlink.
> 
> Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
> ---
> v2 - fix bogus comment on get_link_af_size and add get_tx_queues

Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch

--- a/include/net/rtnetlink.h	2012-02-27 08:43:02.400935781 -0800
+++ b/include/net/rtnetlink.h	2012-04-10 21:19:01.369508395 -0700
@@ -41,9 +41,11 @@  static inline int rtnl_msg_family(const
  *	@get_size: Function to calculate required room for dumping device
  *		   specific netlink attributes
  *	@fill_info: Function to dump device specific netlink attributes
- *	@get_xstats_size: Function to calculate required room for dumping devic
+ *	@get_xstats_size: Function to calculate required room for dumping device
  *			  specific statistics
  *	@fill_xstats: Function to dump device specific statistics
+ *	@get_tx_queues: Function to determine number of transmit queues to create when
+ *		        creating a new device.
  */
 struct rtnl_link_ops {
 	struct list_head	list;
@@ -94,7 +96,7 @@  extern void	rtnl_link_unregister(struct
  * 	@fill_link_af: Function to fill IFLA_AF_SPEC with address family
  * 		       specific netlink attributes.
  * 	@get_link_af_size: Function to calculate size of address family specific
- * 			   netlink attributes exlusive the container attribute.
+ * 			   netlink attributes.
  *	@validate_link_af: Validate a IFLA_AF_SPEC attribute, must check attr
  *			   for invalid configuration settings.
  * 	@set_link_af: Function to parse a IFLA_AF_SPEC attribute and modify