Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1967732ybc; Sun, 17 Nov 2019 11:04:10 -0800 (PST) X-Google-Smtp-Source: APXvYqxO6yOqpAs/k75x1UF8IIY7+HVR0re1U/99wUvKJBxo2Dx76bFuNTJjx6VDJKCLsb/n+ONn X-Received: by 2002:a17:907:20d2:: with SMTP id qq18mr20187636ejb.305.1574017449864; Sun, 17 Nov 2019 11:04:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574017449; cv=none; d=google.com; s=arc-20160816; b=I2bjENNuQQAOlVTsMBuPZTaBLG1nWpvJ+cXA3xozP1aNvDjYNw8SXv7Q79010MLpVn 8miJRG0RlUS9vP7uDfBGGrPRo+mphTvyWjWv1GMf2oVV65OlHW2dEvSP1n+CqTzXhJ8k 9R+qL9k2u6rtEwIdF43fa8nGTQfEv3pDmQI0qlUnVP1lWF3JMjGkqDwlMMoV2IZsunWG +0C2e8j2BdUcN53GKIRLr3ppNNFNZLkySlZFyY4snAthW5fMUiAUKvZN4wY8I7A5M7uy UNO8hJI3uM+/ZqphmxfC0xv9ydhhHxvHPAH1Yi2IyE57aUxVR8mnq6DP9MdSE9Pwpnl6 LC5g== 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=D5o6OzYY7ttQE4NVxUKJq32XNaD6SZWNWoh995WIy7w=; b=lhhfodLhg6D4S0JDUIZOVXDaTUdIDThYje5prcM4O+bEgV64+p54+tMZQA0doIff43 JZ/Alg+HpusMnI9JzkztzLHqDSkVcetD1h3Hd+qJTikrXoxfSrBISMiKAv3jAq+ewV0b uANlNzZJhmn2fFo13Xxso2hNZ4OEgo+QXwPmNeO/UMgeto8sYRN9VUXJHuqAXJVwmosU pWoRBN1e0i7N56zv/z0Ln5ihTOLnHuBXevZBoCi1sFJJvaKEG4KH7gguB7Lg12kzOVAn 0VMyj0PouDhlLEpVt+dQi6klhqzOuCH40MyVTx49WReF5krHQ0P4S4pK3Pe59Z+8STs9 U1gw== 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 g26si6010365edw.39.2019.11.17.11.03.45; Sun, 17 Nov 2019 11:04:09 -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 S1726128AbfKQTCt (ORCPT + 99 others); Sun, 17 Nov 2019 14:02:49 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:18203 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726069AbfKQTCt (ORCPT ); Sun, 17 Nov 2019 14:02:49 -0500 X-IronPort-AV: E=Sophos;i="5.68,317,1569276000"; d="scan'208";a="327024931" Received: from abo-228-123-68.mrs.modulonet.fr (HELO hadrien) ([85.68.123.228]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Nov 2019 20:02:46 +0100 Date: Sun, 17 Nov 2019 20:02:46 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Travis Davies cc: akpm@linux-foundation.org, davem@davemloft.net, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] /linux/netdevice.h: Fix checkpatch.pl comment warning In-Reply-To: <20191117185722.GA4637@Cheese> Message-ID: References: <20191117185722.GA4637@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 Te subject line does not look correct. See what other people have done for this file. On Sun, 17 Nov 2019, Travis Davies wrote: > Fix checkpatch Warning: > '...netdevice.h:100: WARNING: Block comments use a trailing */ on a separate line' Say what you do and why, and not just Fix X. julia > 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 > >