Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3131510pxj; Mon, 17 May 2021 18:36:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz29ssPDM607TlhLPXe/7cffUS52MgWuKE66rJTfcrSaVUpgOQfVtq5fXWJrXXojoEqdli2 X-Received: by 2002:a92:50d:: with SMTP id q13mr2253945ile.238.1621301808184; Mon, 17 May 2021 18:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621301808; cv=none; d=google.com; s=arc-20160816; b=QmxaagmqBFN1n9G+lddEl5jdUFdRnrRGtcAk5jpauuOIOb17/LOjBeW7O3zVJqaG4M V5e2H3+2DeqH8tJEO67/ZefhUuUsuTm71jfV8tne7AuZLnoPTPPcx64y/7EEmZ+MFGsG bCXR/DEDVCrGeisExbpHumaYwY2c5BQ+/TwWeL5ZRXs72iv+Gqx8tE2JUd6tZA/xUTW9 RtC8ao0Hi2DfgWIHD2f99V6K2Bx1evbpl0ZSkC+3mI+yYypy/hMFOoLGVub7orTs5MqQ 5qX84d0aAu23egBKDCnnzQ19mjmNhvZm/h7X+OG8pO++R/Wpzx35URoPCP+Mc725Xbt+ p5sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=xPb5CYyMFZyV1AnbbLL4h+hr+M0curdPqenOcy0o19s=; b=Bi8V5sQvEd2KDXCgNsQrUmUve7tO9+PVx/Uoa1513HK0aw2Qrn3QxJX/4OmhTwHbYb GSEd9PY4t7EyEcQ+DmObVdhzR3ooH0BitNo/zatuRQrgIRsoaGQGr4oycupYly52aqRq cj0Z8uje36U1oWp235xspek78HDkB2qZ4wVn+TgKFz4Qfb5x5d3SDZJWCXIdy2B1MlCd FJJr9rAXhasZmUISD+tFUKdRVo7Nui/drYpsjbP3rXwhy47q01qzcSZFt4C8Xh3bGbwt 9HzXj5XmuGuFKp7kpZuIrPVg6B3eI7E4EZI4E0jS4Q4hKUa8WRtkTZMWF0iYfGLpuw3+ cBtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AH+rpM7l; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n6si21725854jal.41.2021.05.17.18.36.35; Mon, 17 May 2021 18:36:48 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AH+rpM7l; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240716AbhEQOfI (ORCPT + 99 others); Mon, 17 May 2021 10:35:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:43850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240017AbhEQO3v (ORCPT ); Mon, 17 May 2021 10:29:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A05EF616ED; Mon, 17 May 2021 14:15:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1621260904; bh=UiFMXSRuVmmK2AdeQooSJ00/WD/WTu2bQsu3juWAFvs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AH+rpM7lRDsvRy6hN78bapKSTbRFQ00On0HKFsS5K+/6NBDpEn5A7Hp0sWXd0yTvs hg59vnRTZeii/H24mf16Pk3JU+bXeZ54mSpxAHbRC7t1ocjoo/5u6CEVtNtK6VhAlR PBQdESytERsO/EhkyqWivLo5nzV9JJ5nIb+KEQojqBNasY3NEcWm0uLSrs5p1aYhu5 mommExuT2XSTbCTC7iCUz5NUg2H19kPkZ15oPTI4p+KdczS1bYS8SKvReKoVTQ0yHH qZl9qS/FgvWdUy89AIVHEHrTE/Tez2NPt/w3EcDMqFGieF3yDysS5QyWP2sslOKAY8 t8R0wMW40VbHw== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1lie1O-0004IP-HI; Mon, 17 May 2021 16:15:03 +0200 Date: Mon, 17 May 2021 16:15:02 +0200 From: Johan Hovold To: Xiaofei Tan Cc: gregkh@linuxfoundation.org, jirislaby@kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linuxarm@openeuler.org Subject: Re: [PATCH 6/9] tty: hvc_console: Fix coding style issues of block comments Message-ID: References: <1621233433-27094-1-git-send-email-tanxiaofei@huawei.com> <1621233433-27094-7-git-send-email-tanxiaofei@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1621233433-27094-7-git-send-email-tanxiaofei@huawei.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 17, 2021 at 02:37:10PM +0800, Xiaofei Tan wrote: > Fix coding style issues of block comments, reported by checkpatch.pl. > Besides, add a period at the end of the sentenses. > > Signed-off-by: Xiaofei Tan > --- > drivers/tty/hvc/hvc_console.c | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) > > diff --git a/drivers/tty/hvc/hvc_console.c b/drivers/tty/hvc/hvc_console.c > index 39018e5..a61cdf0 100644 > --- a/drivers/tty/hvc/hvc_console.c > +++ b/drivers/tty/hvc/hvc_console.c > @@ -177,7 +177,8 @@ static void hvc_console_print(struct console *co, const char *b, > r = cons_ops[index]->put_chars(vtermnos[index], c, i); > if (r <= 0) { > /* throw away characters on error > - * but spin in case of -EAGAIN */ > + * but spin in case of -EAGAIN. > + */ How is this an improvement? First, the multi-line comment style is /* * ... */ Second, that sentence is not capitalised so why do add a period? Third, why are you sending checkpatch.pl cleanups for files outside of staging? Unless doing some real changes to the files in question as well this is mostly just churn and noise that makes it harder to backport fixes and do code forensics for no real gain. Greg may disagree, but I don't think we should be encouraging this kind of patches. Johan