* [PATCH 1/1 net-next] openvswitch: use vport instead of p
@ 2014-10-15 19:03 Fabian Frederick
2014-10-16 1:11 ` Pravin Shelar
2014-10-16 3:26 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Fabian Frederick @ 2014-10-15 19:03 UTC (permalink / raw)
To: linux-kernel
Cc: Fabian Frederick, Pravin Shelar, David S. Miller, dev, netdev
All functions used struct vport *vport except
ovs_vport_find_upcall_portid.
This fixes 1 kerneldoc warning
Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
net/openvswitch/vport.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
index 53001b0..6015802 100644
--- a/net/openvswitch/vport.c
+++ b/net/openvswitch/vport.c
@@ -408,13 +408,13 @@ int ovs_vport_get_upcall_portids(const struct vport *vport,
*
* Returns the portid of the target socket. Must be called with rcu_read_lock.
*/
-u32 ovs_vport_find_upcall_portid(const struct vport *p, struct sk_buff *skb)
+u32 ovs_vport_find_upcall_portid(const struct vport *vport, struct sk_buff *skb)
{
struct vport_portids *ids;
u32 ids_index;
u32 hash;
- ids = rcu_dereference(p->upcall_portids);
+ ids = rcu_dereference(vport->upcall_portids);
if (ids->n_ids == 1 && ids->ids[0] == 0)
return 0;
--
1.9.3
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1 net-next] openvswitch: use vport instead of p
2014-10-15 19:03 [PATCH 1/1 net-next] openvswitch: use vport instead of p Fabian Frederick
@ 2014-10-16 1:11 ` Pravin Shelar
2014-10-16 3:26 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: Pravin Shelar @ 2014-10-16 1:11 UTC (permalink / raw)
To: Fabian Frederick; +Cc: LKML, David S. Miller, dev, netdev
On Wed, Oct 15, 2014 at 12:03 PM, Fabian Frederick <fabf@skynet.be> wrote:
> All functions used struct vport *vport except
> ovs_vport_find_upcall_portid.
>
> This fixes 1 kerneldoc warning
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Pravin B Shelar <pshelar@nicira.com>
Thanks.
> ---
> net/openvswitch/vport.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/net/openvswitch/vport.c b/net/openvswitch/vport.c
> index 53001b0..6015802 100644
> --- a/net/openvswitch/vport.c
> +++ b/net/openvswitch/vport.c
> @@ -408,13 +408,13 @@ int ovs_vport_get_upcall_portids(const struct vport *vport,
> *
> * Returns the portid of the target socket. Must be called with rcu_read_lock.
> */
> -u32 ovs_vport_find_upcall_portid(const struct vport *p, struct sk_buff *skb)
> +u32 ovs_vport_find_upcall_portid(const struct vport *vport, struct sk_buff *skb)
> {
> struct vport_portids *ids;
> u32 ids_index;
> u32 hash;
>
> - ids = rcu_dereference(p->upcall_portids);
> + ids = rcu_dereference(vport->upcall_portids);
>
> if (ids->n_ids == 1 && ids->ids[0] == 0)
> return 0;
> --
> 1.9.3
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1 net-next] openvswitch: use vport instead of p
2014-10-15 19:03 [PATCH 1/1 net-next] openvswitch: use vport instead of p Fabian Frederick
2014-10-16 1:11 ` Pravin Shelar
@ 2014-10-16 3:26 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2014-10-16 3:26 UTC (permalink / raw)
To: fabf; +Cc: linux-kernel, pshelar, dev, netdev
From: Fabian Frederick <fabf@skynet.be>
Date: Wed, 15 Oct 2014 21:03:41 +0200
> All functions used struct vport *vport except
> ovs_vport_find_upcall_portid.
>
> This fixes 1 kerneldoc warning
>
> Signed-off-by: Fabian Frederick <fabf@skynet.be>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-16 3:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-15 19:03 [PATCH 1/1 net-next] openvswitch: use vport instead of p Fabian Frederick
2014-10-16 1:11 ` Pravin Shelar
2014-10-16 3:26 ` David Miller
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).