Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1427232
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Chris Packham <chris.packham@alliedtelesis.co.nz> |
| Newsgroups | linux.kernel |
| Subject | [PATCH] net: vrf: replace hard tab with space in assignment |
| Date | Tue, 21 Jun 2016 05:40:01 +0200 |
| Message-ID | <rMkHD-l2-1@gated-at.bofh.it> (permalink) |
| X-Original-To | netdev@vger.kernel.org |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail; t=1466480385; bh=fRbG2gYexCxah56tXvKDByGZZtTWRp7v07vxCBdbBx4=; h=From:To:Cc:Subject:Date; b=e4TpsCVrBC0dzWjWrdBTpXQ1RuvxPiWCb66j5Q0TeHxjytTKh45CGI45Lw2kEXMZ8 WGt56HVDfZuModqRvy64uTIdbzJPApM5CY/+8xmgMb9UQczqRh3GA/toyKIhNXlUYH jKb9C4i7OZbtHK/lkThkn/vhMEbHGUPAyLEY/edo= |
| X-Mailer | git-send-email 2.8.4 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 34 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, shm@cumulusnetworks.com, dsa@cumulusnetworks.com, Chris Packham <chris.packham@alliedtelesis.co.nz> |
| X-Original-Date | Tue, 21 Jun 2016 15:39:43 +1200 |
| X-Original-Message-ID | <20160621033943.21947-1-chris.packham@alliedtelesis.co.nz> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1427232 |
Show key headers only | View raw
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
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] net: vrf: replace hard tab with space in assignment Chris Packham <chris.packham@alliedtelesis.co.nz> - 2016-06-21 05:40 +0200 Re: [PATCH] net: vrf: replace hard tab with space in assignment David Ahern <dsa@cumulusnetworks.com> - 2016-06-21 06:00 +0200
csiph-web