netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 3/3] openvswitch: update kernel doc for struct vport
@ 2016-01-09 23:07 Jεan Sacren
  2016-01-10 10:21 ` Thomas Graf
  0 siblings, 1 reply; 2+ messages in thread
From: Jεan Sacren @ 2016-01-09 23:07 UTC (permalink / raw)
  To: netdev; +Cc: Pravin Shelar, dev, Thomas Graf

From: Jean Sacren <sakiwit@gmail.com>

commit be4ace6e6b1b ("openvswitch: Move dev pointer into vport itself")

The commit above added @dev and moved @rcu to the bottom of struct
vport, but the change was not reflected in the kernel doc. So let's
update the kernel doc as well.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Cc: Thomas Graf <tgraf@suug.ch>
---
 net/openvswitch/vport.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net/openvswitch/vport.h b/net/openvswitch/vport.h
index f00bb153ad13..c10899cb9040 100644
--- a/net/openvswitch/vport.h
+++ b/net/openvswitch/vport.h
@@ -70,7 +70,7 @@ struct vport_portids {
 
 /**
  * struct vport - one port within a datapath
- * @rcu: RCU callback head for deferred destruction.
+ * @dev: Pointer to net_device.
  * @dp: Datapath to which this port belongs.
  * @upcall_portids: RCU protected 'struct vport_portids'.
  * @port_no: Index into @dp's @ports array.
@@ -78,6 +78,7 @@ struct vport_portids {
  * @dp_hash_node: Element in @datapath->ports hash table in datapath.c.
  * @ops: Class structure.
  * @detach_list: list used for detaching vport in net-exit call.
+ * @rcu: RCU callback head for deferred destruction.
  */
 struct vport {
 	struct net_device *dev;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next 3/3] openvswitch: update kernel doc for struct vport
  2016-01-09 23:07 [PATCH net-next 3/3] openvswitch: update kernel doc for struct vport Jεan Sacren
@ 2016-01-10 10:21 ` Thomas Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Graf @ 2016-01-10 10:21 UTC (permalink / raw)
  To: J??an Sacren; +Cc: netdev, Pravin Shelar, dev

On 01/09/16 at 04:07pm, J??an Sacren wrote:
> From: Jean Sacren <sakiwit@gmail.com>
> 
> commit be4ace6e6b1b ("openvswitch: Move dev pointer into vport itself")
> 
> The commit above added @dev and moved @rcu to the bottom of struct
> vport, but the change was not reflected in the kernel doc. So let's
> update the kernel doc as well.
> 
> Signed-off-by: Jean Sacren <sakiwit@gmail.com>
> Cc: Thomas Graf <tgraf@suug.ch>

Acked-by: Thomas Graf <tgraf@suug.ch>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-10 10:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-09 23:07 [PATCH net-next 3/3] openvswitch: update kernel doc for struct vport Jεan Sacren
2016-01-10 10:21 ` Thomas Graf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).