[PATCH net-next 3/3] openvswitch: update kernel doc for struct vport

Subsystems: networking [general], openvswitch, the rest

STALE3870d

2 messages, 2 authors, 2016-01-10 · open the first message on its own page

[PATCH net-next 3/3] openvswitch: update kernel doc for struct vport

From: Jεan Sacren <hidden>
Date: 2016-01-09 23:07:55

From: Jean Sacren <redacted>

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 <redacted>
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;

Re: [PATCH net-next 3/3] openvswitch: update kernel doc for struct vport

From: Thomas Graf <tgraf@suug.ch>
Date: 2016-01-10 10:21:31

On 01/09/16 at 04:07pm, J??an Sacren wrote:
From: Jean Sacren <redacted>

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 <redacted>
Cc: Thomas Graf <tgraf@suug.ch>
Acked-by: Thomas Graf <tgraf@suug.ch>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help