Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp40954pxj; Wed, 16 Jun 2021 19:43:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxAYoEAkugOvHtWGE6ZZ3O9ELBw0hS7FlQLiirBFOL5ugAx87q97wt4EqUL5ofV2yEyilfL X-Received: by 2002:a92:c886:: with SMTP id w6mr286025ilo.227.1623897819543; Wed, 16 Jun 2021 19:43:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623897819; cv=none; d=google.com; s=arc-20160816; b=QVwWOqRsQC/sk2SlNk1bPMq5WJEIQ9cNdhY8Eacy6sAouE/EODyGP91KbFx+Nc/2+s bOsRWCOcarSQjsn/dXVS/VLKrh+MDsl79Wz0a6Gnr5F8cueeMXfCNyS8NbZnQS9YASCU 9XUkGA0pZQHkM5/zwQYOvn/6Dh+Sid5EyydnOAJkAD4M0V440Pds2MGGCj8BBvkV2IF2 9y2s7rnlfTv8duZCFNIvk9yK+E9snlZxIygzv47ZoPNN+J7wFFp5V9lZ+/dR19NBM+Fl MmpT7y2FN88mzJ63sOd8h7pO3vR2/rDF46oARbqFfgZkXlXrOBqWVEH1D4Y2iQe00v2+ IOBw== 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=+Ul8krw3jU+EXhFljYnwB42LCj+7HCdB6OQC1fwCKzY=; b=xfobWhhZBRw2qDSZgP7Qbk98rs/dty7LSi8Kvjd+llD1C+wQIpCzwRzxCwlSZ6SZDu l/YIKHAD9dF7sjiHm5Gks4uN2XdDF+TwIHrjFSGq8ciJPPjBHnI18F80crefy8WCjlIe tNpPFEvvbWUMgpkAGij1XyyKKA7BFWlt8DCgORUEi/4vsxezhFrQC26AWk4wP1CVFUuJ lC0pmxnjr6SKCKE69C4d1qrp0gcsv4QGt6ikbu7/Z7gtMChHXbRtPDgfnZ5dKfmXhRxB XJrlGL2LswJmPzQVig4UTCNcwIlk8fwZEyQDFf5C3gbkuZtAS675j2pl5tZj7eaXqKsX wmZg== 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 q4si4506192jas.57.2021.06.16.19.43.28; Wed, 16 Jun 2021 19:43:39 -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 S231730AbhFQBDF (ORCPT + 99 others); Wed, 16 Jun 2021 21:03:05 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:11041 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231628AbhFQBDF (ORCPT ); Wed, 16 Jun 2021 21:03:05 -0400 Received: from dggeme756-chm.china.huawei.com (unknown [172.30.72.56]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4G53ZJ6ZvNzZdgG; Thu, 17 Jun 2021 08:58:00 +0800 (CST) Received: from [10.67.100.138] (10.67.100.138) by dggeme756-chm.china.huawei.com (10.3.19.102) 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:00:56 +0800 Subject: Re: [PATCH net-next 5/8] net: hdlc_ppp: fix the comments style issue To: Andrew Lunn , Guangbin Huang CC: , , , , , , References: <1623836037-26812-1-git-send-email-huangguangbin2@huawei.com> <1623836037-26812-6-git-send-email-huangguangbin2@huawei.com> From: "lipeng (Y)" Message-ID: Date: Thu, 17 Jun 2021 09:00:56 +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="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.100.138] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggeme756-chm.china.huawei.com (10.3.19.102) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 在 2021/6/17 0:20, Andrew Lunn 写道: >> static int cp_table[EVENTS][STATES] = { >> /* CLOSED STOPPED STOPPING REQ_SENT ACK_RECV ACK_SENT OPENED >> - 0 1 2 3 4 5 6 */ >> + * 0 1 2 3 4 5 6 >> + */ >> {IRC|SCR|3, INV , INV , INV , INV , INV , INV }, /* START */ >> { INV , 0 , 0 , 0 , 0 , 0 , 0 }, /* STOP */ >> { INV , INV ,STR|2, SCR|3 ,SCR|3, SCR|5 , INV }, /* TO+ */ > This probably reduces the readability of the code. So i would not make > this change. > > Please remember these are only guidelines. Please don't blindly make > changes, or change it because some bot says so. Check that it actually > makes sense and the code is better afterwards. > > Andrew > . Agree with you they are only guidelines. The code should  follow the rules mostly, or  it will be diferent style from different developer. If that's the exception, i will drop this patch. Thanks             Peng Li