* [PATCH] net: vrf: replace hard tab with space in assignment
@ 2016-06-21 3:39 Chris Packham
2016-06-21 3:49 ` David Ahern
2016-06-23 19:20 ` David Miller
0 siblings, 2 replies; 3+ messages in thread
From: Chris Packham @ 2016-06-21 3:39 UTC (permalink / raw)
To: netdev; +Cc: linux-kernel, shm, dsa, Chris Packham
The assignment of rth->dst.output in vrf_rt6_create() and
vrf_rtable_create() used a hard tab before the '='. The neighboring
assignments did not. Make the assignment of rth->dst.output consistent
with the surrounding code.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
---
drivers/net/vrf.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c
index dff08842f26d..8bd8c7e1ee87 100644
--- a/drivers/net/vrf.c
+++ b/drivers/net/vrf.c
@@ -304,7 +304,7 @@ static int vrf_rt6_create(struct net_device *dev)
dst_hold(&rt6->dst);
rt6->rt6i_table = rt6i_table;
- rt6->dst.output = vrf_output6;
+ rt6->dst.output = vrf_output6;
rcu_assign_pointer(vrf->rt6, rt6);
rc = 0;
@@ -403,7 +403,7 @@ static int vrf_rtable_create(struct net_device *dev)
if (!rth)
return -ENOMEM;
- rth->dst.output = vrf_output;
+ rth->dst.output = vrf_output;
rth->rt_table_id = vrf->tb_id;
rcu_assign_pointer(vrf->rth, rth);
--
2.8.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] net: vrf: replace hard tab with space in assignment
2016-06-21 3:39 [PATCH] net: vrf: replace hard tab with space in assignment Chris Packham
@ 2016-06-21 3:49 ` David Ahern
2016-06-23 19:20 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Ahern @ 2016-06-21 3:49 UTC (permalink / raw)
To: Chris Packham, netdev; +Cc: linux-kernel, shm
On 6/20/16 9:39 PM, Chris Packham wrote:
> The assignment of rth->dst.output in vrf_rt6_create() and
> vrf_rtable_create() used a hard tab before the '='. The neighboring
> assignments did not. Make the assignment of rth->dst.output consistent
> with the surrounding code.
>
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
> ---
> drivers/net/vrf.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: David Ahern <dsa@cumulusnetworks.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] net: vrf: replace hard tab with space in assignment
2016-06-21 3:39 [PATCH] net: vrf: replace hard tab with space in assignment Chris Packham
2016-06-21 3:49 ` David Ahern
@ 2016-06-23 19:20 ` David Miller
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2016-06-23 19:20 UTC (permalink / raw)
To: chris.packham; +Cc: netdev, linux-kernel, shm, dsa
From: Chris Packham <chris.packham@alliedtelesis.co.nz>
Date: Tue, 21 Jun 2016 15:39:43 +1200
> The assignment of rth->dst.output in vrf_rt6_create() and
> vrf_rtable_create() used a hard tab before the '='. The neighboring
> assignments did not. Make the assignment of rth->dst.output consistent
> with the surrounding code.
>
> Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Applied.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-06-23 19:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-21 3:39 [PATCH] net: vrf: replace hard tab with space in assignment Chris Packham
2016-06-21 3:49 ` David Ahern
2016-06-23 19:20 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.