Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2460086ybc; Sun, 17 Nov 2019 22:23:21 -0800 (PST) X-Google-Smtp-Source: APXvYqzQVUA4Hk3McHH8vusHwVb2gLYjuqIHXdkt2aO0CsetU+VdCEPSSTaTNYPUUJRhtlXm9ncT X-Received: by 2002:a17:906:4cd2:: with SMTP id q18mr23684874ejt.319.1574058201215; Sun, 17 Nov 2019 22:23:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574058201; cv=none; d=google.com; s=arc-20160816; b=CtGii1UkuNB9pw6r+87HZYpUPpc2YljLBrpD/BdEU6thG5fQVfKxgbAkuB/SzDz7gT hLlqpOrGmNaq5g07QrASXbIsLDNICqXkMvM9YVihFol5JAxjCZtWO8PGT7uUjDlmmkol cpRLK+hdwC3KDqgVBB63x58kXJ7TxjREtHZWDnQUTeaUvhgvUGGwUZFiCysaP8ZMRYCh Y6Se5QsQrBFnF2sDTSbGzGxPiHUnYmrF9IrZE2Nrea4AlJbsEVCmbRnFC5fKgCWtbvai Y2XWyxMJCvSQedMGYxySwwRnsRdHnFJkPjLKXJI+rHzhUKq8PXJVghMXQXRMuP1QAg7z 879w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Rgs8/vGcV6ewR43xHAzlNhKgTQeBSCSdhgtjV6famU8=; b=HWHPseK61sqm6ZmwANFbCVRvHi5uTPQIXR7KLJrAlJaUJhgMxNvsnZpX1YJPI/oKfN 3W2eush0XHJstECo/svPtL8E6qxiM4iHxteeRC4DiLTqYHNVmCsPYNwcyleRGza/gw7e LSgyEQd5Ipadj/xK9fmO4CUHhhybIIuZBbr9bdtnrsp8yPWKEFDXQpXW7Y12huaridDy Xkki6JvckQEAQRM/BOxX777+KxwX9gJEo/mB7mg0aEr6zPP5T5FzCQWc2zbZq54CbggD HZp2Oq/ioKXKrj7AUlsgzPuiylTtiO8jrivnXeFtTs0dwjBK9hb7mYW8YZn3EJj0oWoU odTA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c36si12301235edb.58.2019.11.17.22.22.58; Sun, 17 Nov 2019 22:23:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726922AbfKRGVT (ORCPT + 99 others); Mon, 18 Nov 2019 01:21:19 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:53851 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbfKRGVT (ORCPT ); Mon, 18 Nov 2019 01:21:19 -0500 X-IronPort-AV: E=Sophos;i="5.68,319,1569276000"; d="scan'208";a="412230068" Received: from abo-228-123-68.mrs.modulonet.fr (HELO hadrien) ([85.68.123.228]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Nov 2019 07:21:17 +0100 Date: Mon, 18 Nov 2019 07:21:17 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Travis Davies cc: Andrew Morton , "David S. Miller" , kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] net: Fix comment block per style guide In-Reply-To: <20191117221647.GA10337@Cheese> Message-ID: References: <20191117221647.GA10337@Cheese> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This should be v2. Put that with the PATCH, and then explain below the --- what changed. On Sun, 17 Nov 2019, Travis Davies wrote: > This patch places /* and */ on sepperate lines for a You can fix the spelling of separate at the same time. julia > multiline block comment, in order to keep code style > consistant with majority of blocks throughout the file. > > This will prevent a checkpatch.pl warning: > 'Block comments use a trailing */ on a separate line' > > Signed-off-by: Travis Davies > > --- > include/linux/netdevice.h | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h > index c20f190b4c18..a2605e043fa2 100644 > --- a/include/linux/netdevice.h > +++ b/include/linux/netdevice.h > @@ -95,9 +95,11 @@ void netdev_set_default_ethtool_ops(struct net_device *dev, > #define NET_XMIT_CN 0x02 /* congestion notification */ > #define NET_XMIT_MASK 0x0f /* qdisc flags in net/sch_generic.h */ > > -/* NET_XMIT_CN is special. It does not guarantee that this packet is lost. It > +/* > + * NET_XMIT_CN is special. It does not guarantee that this packet is lost. It > * indicates that the device will soon be dropping packets, or already drops > - * some packets of the same priority; prompting us to send less aggressively. */ > + * some packets of the same priority; prompting us to send less aggressively. > + */ > #define net_xmit_eval(e) ((e) == NET_XMIT_CN ? 0 : (e)) > #define net_xmit_errno(e) ((e) != NET_XMIT_CN ? -ENOBUFS : 0) > > -- > 2.21.0 > >