From mboxrd@z Thu Jan 1 00:00:00 1970 From: chenweilong Subject: Re: [patch net-next 6/7] ipv4: ERROR: code indent should use tabs where possible Date: Mon, 23 Dec 2013 10:11:40 +0800 Message-ID: <52B79BDC.4060107@huawei.com> References: <1387540630-11052-1-git-send-email-chenweilong@huawei.com> <1387540630-11052-7-git-send-email-chenweilong@huawei.com> <1387561986.1549.9.camel@bwh-desktop.uk.level5networks.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: , , , , , , , , , To: Ben Hutchings Return-path: Received: from szxga01-in.huawei.com ([119.145.14.64]:43555 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756788Ab3LWCM1 (ORCPT ); Sun, 22 Dec 2013 21:12:27 -0500 In-Reply-To: <1387561986.1549.9.camel@bwh-desktop.uk.level5networks.com> Sender: netfilter-devel-owner@vger.kernel.org List-ID: On 2013/12/21 1:53, Ben Hutchings wrote: > On Fri, 2013-12-20 at 19:57 +0800, Chen Weilong wrote: >> From: Weilong Chen >> >> >> Signed-off-by: Weilong Chen >> --- >> net/ipv4/cipso_ipv4.c | 6 +++--- >> net/ipv4/sysctl_net_ipv4.c | 2 +- >> net/ipv4/xfrm4_mode_beet.c | 2 +- >> 3 files changed, 5 insertions(+), 5 deletions(-) >> >> diff --git a/net/ipv4/cipso_ipv4.c b/net/ipv4/cipso_ipv4.c >> index 4b59b6e..081f51a 100644 >> --- a/net/ipv4/cipso_ipv4.c >> +++ b/net/ipv4/cipso_ipv4.c >> @@ -1336,7 +1336,7 @@ static int cipso_v4_parsetag_rbm(const struct cipso_v4_doi *doi_def, >> >> if (tag_len > 4) { >> secattr->attr.mls.cat = >> - netlbl_secattr_catmap_alloc(GFP_ATOMIC); >> + netlbl_secattr_catmap_alloc(GFP_ATOMIC); >> if (secattr->attr.mls.cat == NULL) >> return -ENOMEM; >> >> @@ -1432,7 +1432,7 @@ static int cipso_v4_parsetag_enum(const struct cipso_v4_doi *doi_def, >> >> if (tag_len > 4) { >> secattr->attr.mls.cat = >> - netlbl_secattr_catmap_alloc(GFP_ATOMIC); >> + netlbl_secattr_catmap_alloc(GFP_ATOMIC); >> if (secattr->attr.mls.cat == NULL) >> return -ENOMEM; >> >> @@ -1527,7 +1527,7 @@ static int cipso_v4_parsetag_rng(const struct cipso_v4_doi *doi_def, >> >> if (tag_len > 4) { >> secattr->attr.mls.cat = >> - netlbl_secattr_catmap_alloc(GFP_ATOMIC); >> + netlbl_secattr_catmap_alloc(GFP_ATOMIC); >> if (secattr->attr.mls.cat == NULL) >> return -ENOMEM; >> > [...] > > These lines are still excessively indented (one extra tab is enough), > and could just be appended to the lines above them: > > secattr->attr.mls.cat = netlbl_secattr_catmap_alloc(GFP_ATOMIC); > > (exactly 80 columns long). > > Ben. > OK, That's very good, Thanks!