Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp41589pxj; Wed, 16 Jun 2021 19:44:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzcuqACnhser87vM9xVNmeHQ5SmrGqP1l6MHlfrKSJXtnP7+eDEq3I+deh7qSOTl7ZYMlag X-Received: by 2002:aa7:dd5a:: with SMTP id o26mr1943563edw.277.1623897889618; Wed, 16 Jun 2021 19:44:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623897889; cv=none; d=google.com; s=arc-20160816; b=WPGAtEc2jB+YQquiRql0Pi9QnByQfIcmGcsgJyz7fm1GdJ1JKnCG0pD5ib1d6eeV27 3CYebd+jaCvgpuS4YumYDo2m8anqNXTBYw1bkK38edFzrjVmJvPFE6DUzSBDuyKJepHX 655ymAzxh3Nj77CWRAmFaTL72eN0atGlYkTs03icrAShhkVzZ+0x/kaM2Q60krmuDbwS HjZ6QFWBdZHViyVQ5WY7pZ1Fe40tWr0SOaQD42EjtCOwbYff3k6RhaLYh6dcluHNjjR2 RXQWZ6FpWyuhG5g7De4gYBeOE7KINaEjEVcHX5JMTWDXu1z/zWROYFvydEWg+03jrkn6 cdVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject; bh=eC7hUQ4BACIva2UnjFxVfMTDpFVtzgNb5LbURk2A1JE=; b=zV4HHn8jk0jAGCjTSG40Mb8yRop3+i+M0DLbb4HOZeziv4Rk6C9qeCK/d2x/nAFrX/ BTrqY5mpC5tEPQKIG5WyBcqaa9EijGl8cRL5cb8KWeSRpHUGxgsiHo7eN0C/RSVQcISA Zaur6eMB6ZzED8/L3zgMdz6pCgUHL83pEJsxESYvM1H+HUCDATqwqfACv3JeaYJNJcWD I36ZhAbmgqB8jnMhDVC6VAAmOPjbBVBuE8/FoJRZuJnS9Zw52GQwBLHkn3lMceVMqpVQ fi3a5I0cfli9jTfGjGxGj0ndO3GZUoVvc0aiXIkUDVaxyoe4Psi9bKQv55FQHlUQgjQU C0sA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y4si3963075edi.355.2021.06.16.19.44.19; Wed, 16 Jun 2021 19:44:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231834AbhFQBHV (ORCPT + 99 others); Wed, 16 Jun 2021 21:07:21 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:11042 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231441AbhFQBHU (ORCPT ); Wed, 16 Jun 2021 21:07:20 -0400 Received: from dggeme755-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G53gD41KNzZfj7; Thu, 17 Jun 2021 09:02:16 +0800 (CST) Received: from [10.67.100.138] (10.67.100.138) by dggeme755-chm.china.huawei.com (10.3.19.101) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2176.2; Thu, 17 Jun 2021 09:05:12 +0800 Subject: Re: [PATCH net-next 7/8] net: hdlc_ppp: remove redundant spaces To: Andrew Lunn , Guangbin Huang CC: , , , , , , References: <1623836037-26812-1-git-send-email-huangguangbin2@huawei.com> <1623836037-26812-8-git-send-email-huangguangbin2@huawei.com> From: "lipeng (Y)" Message-ID: Date: Thu, 17 Jun 2021 09:05:12 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="gbk"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.100.138] X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To dggeme755-chm.china.huawei.com (10.3.19.101) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ?? 2021/6/17 0:23, Andrew Lunn ะด??: > On Wed, Jun 16, 2021 at 05:33:56PM +0800, Guangbin Huang wrote: >> From: Peng Li >> >> According to the chackpatch.pl, >> no spaces is necessary at the start of a line. >> >> Signed-off-by: Peng Li >> Signed-off-by: Guangbin Huang >> --- >> drivers/net/wan/hdlc_ppp.c | 10 +++++----- >> 1 file changed, 5 insertions(+), 5 deletions(-) >> >> diff --git a/drivers/net/wan/hdlc_ppp.c b/drivers/net/wan/hdlc_ppp.c >> index 7b7c02d..53c668e 100644 >> --- a/drivers/net/wan/hdlc_ppp.c >> +++ b/drivers/net/wan/hdlc_ppp.c >> @@ -34,8 +34,8 @@ >> >> enum {IDX_LCP = 0, IDX_IPCP, IDX_IPV6CP, IDX_COUNT}; >> enum {CP_CONF_REQ = 1, CP_CONF_ACK, CP_CONF_NAK, CP_CONF_REJ, CP_TERM_REQ, >> - CP_TERM_ACK, CP_CODE_REJ, LCP_PROTO_REJ, LCP_ECHO_REQ, LCP_ECHO_REPLY, >> - LCP_DISC_REQ, CP_CODES}; >> + CP_TERM_ACK, CP_CODE_REJ, LCP_PROTO_REJ, LCP_ECHO_REQ, LCP_ECHO_REPLY, >> + LCP_DISC_REQ, CP_CODES}; > Do you think this looks better or worse after the change? > > Andrew > . It is better after the change as the code style follow the same rule. What's your suggestion?