Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3366967ybc; Mon, 18 Nov 2019 14:10:19 -0800 (PST) X-Google-Smtp-Source: APXvYqzBA9FTrP1d+fjYlEJwvm9UvTxoG08NW+CNT30yc+PpXbdpjxNeO1mPZUpZmzJ+5kYIIasH X-Received: by 2002:a17:906:e8f:: with SMTP id p15mr29956874ejf.113.1574115019059; Mon, 18 Nov 2019 14:10:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574115019; cv=none; d=google.com; s=arc-20160816; b=x1cBrPqdooyNaqpSYRKMN7EQZ8DjKniQ8b9pMo7RfgGbCTzP0mE+HiO9dG8AhXlVIk aJuzO+mSNR8Npl3RRftGRaIVytXUh9SVM9F6RSc0qie+RP16LY/0zO85G+aUMBNmA+Z6 CANt3hMYNRTD94TIFftKgm3sSkK/n1mELrHeL5m0MYgwChjtAPAqCLabnuspQZlyNDL0 WCrPtet8dk/8Aw7O4+BQdd3/1Be6bMQA58LYj91/ZBNy0nOI/ZIFGKGlsKsgQQT5FqNi IQyLpjvKdcyaYhEQT1+idZbF3mBfAfyAmMb1Q3PLqm3fgC1/nJzR1omgKdSXiGKOnCVk Iq0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=oDc3cmwRnefkFpI+gtL27X6b/SLIa78upN2uWjuXJN0=; b=p+bAF1L4wqb08M7sc/XrZ8O/eQ5ayTOcOYrEJHOpBkZJQnS4uLRfqPv9aSM03p9CBb sxhKTYEc8VcVf/hHOkd12SiNrJzpfD8AnER4LA3SU2A2sI9gPMuUvkzcGRIRu7cwNmCv GM/c6z9UD+HVulBsCVvKc/AE+kTRpnmWsHogB4EAmugfL61G3ihs0aud8e3U/r3HqOB9 5x+4AnzYjNSiLDGWMjzwXEmEMBCCyjmqsobQ3RzjHfrWugx9UCef/RBfSVPrI2e2Hf1+ jNbOXDKZfnVPZFNx4uv/uNp29UdHPluOwgfeFxyTVa/coUep4tYYN8PDWjEQs7hnuXJq 8q2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pobox.com header.s=sasl header.b=sFuu8TJe; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=qBmZrVe6; 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 va6si12036111ejb.73.2019.11.18.14.09.55; Mon, 18 Nov 2019 14:10:19 -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; dkim=pass header.i=@pobox.com header.s=sasl header.b=sFuu8TJe; dkim=temperror (no key for signature) header.i=@darkphysics.net header.s=2019-09.pbsmtp header.b=qBmZrVe6; 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 S1727092AbfKRWGT (ORCPT + 99 others); Mon, 18 Nov 2019 17:06:19 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:61882 "EHLO pb-smtp1.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726647AbfKRWGS (ORCPT ); Mon, 18 Nov 2019 17:06:18 -0500 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A9F6F1CD1D; Mon, 18 Nov 2019 17:06:16 -0500 (EST) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:mime-version:content-type; s=sasl; bh=LHj AIQqX0SS8A9JCuySi90I1RG0=; b=sFuu8TJenzjAzvyynLKTU6/Fgy8gQuas27j g/XqYH6yyajtiKofsMOHbjC/i27ZHUq9Mq0rBVT89O8Gocca4IokCXNOAHb6Ij7E EH0rLhstM2z/xGjltDVQLePYJ12xqUDdvXbYJ3G7kd5El6McQ2yM8UOU5ZP/hGzS St72c0z8= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A21161CD1B; Mon, 18 Nov 2019 17:06:16 -0500 (EST) (envelope-from tdavies@darkphysics.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=darkphysics.net; h=date:from:to:cc:subject:message-id:mime-version:content-type; s=2019-09.pbsmtp; bh=KaOxpme6FNZGTPOE7sm6/XODHUtk3cS/04Nzz8GTVFM=; b=qBmZrVe6/UaGKa5uvn+0IVSpKd5WbdjgLRDHNBhDdIjTkfYld8hmprlKK+Orx2hwvJ7x6u7o57DHw91GuQiIUgttgivMauWbR/0KKZGc8DSMsKGBq5zje9KXum8lsCGbd+ChpzsYnhYNt1JDhbZIMQaORZpx+YxqOS58hRSMcFw= Received: from Cheese (unknown [24.19.107.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 81DEA1CD1A; Mon, 18 Nov 2019 17:06:15 -0500 (EST) (envelope-from tdavies@darkphysics.net) Date: Mon, 18 Nov 2019 14:06:09 -0800 From: Travis Davies To: Andrew Morton , "David S. Miller" , Julia Lawall Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/1] net: Fix comment block per style guide Message-ID: <20191118220609.GA23999@Cheese> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-Pobox-Relay-ID: A41BC134-0A4F-11EA-9080-C28CBED8090B-64344220!pb-smtp1.pobox.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch places /* and */ on separate lines for a 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 --- -v2: Fix commit description, and subject line as suggested by Julie Lawall 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