From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9C4B1C432C0 for ; Mon, 18 Nov 2019 23:07:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4921C222D1 for ; Mon, 18 Nov 2019 23:07:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=pobox.com header.i=@pobox.com header.b="aatd/yAr"; dkim=fail reason="key not found in DNS" (0-bit key) header.d=darkphysics.net header.i=@darkphysics.net header.b="wC1vpr9T" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726962AbfKRXHV (ORCPT ); Mon, 18 Nov 2019 18:07:21 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]:53156 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726787AbfKRXHV (ORCPT ); Mon, 18 Nov 2019 18:07:21 -0500 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id F161A35F41; Mon, 18 Nov 2019 18:07:18 -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=MDm cpYj5GppYnk3UEbf62ejYYXY=; b=aatd/yAr2sv8eHA5BT4r9+aN2HoFoimASTW yQvrXMzYWwdN2Bh+8EaJnLQFcAcGiIw99qvMZmcgQ2HJsmOz6CripSETHcJOjBPs aOwPswo3YRG9XT/VgZqtQ2Gw0iTkcR6xdRw9KU5Q95mNkR6v3AnQDxtKwvoZn71z f9fIzzR0= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id E92A535F40; Mon, 18 Nov 2019 18:07:18 -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=xp3dJWmhhz8NtHy5owQ0Ttu27bNB/gejh64OWp+S7xA=; b=wC1vpr9TC1vY2qS8oegY8ProRFLJJ3pDAoqVKt2+yBealPj+C3KAjI5c9VJNhC+OcUuHlZ32VXDPKFJ50moTS2/SYBhv73i/uRWFEWsXgEIBlXSif4m9cKL2QlS6Ct9ZNzh136LxwM0+F3rbqOkffU1CNZfxLWzDKXyLxrkeR+Y= 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-smtp2.pobox.com (Postfix) with ESMTPSA id F22A135F3F; Mon, 18 Nov 2019 18:07:17 -0500 (EST) (envelope-from tdavies@darkphysics.net) Date: Mon, 18 Nov 2019 15:07:11 -0800 From: Travis Davies To: Andrew Morton , "David S. Miller" , Julia Lawall Cc: linux-kernel@vger.kernel.org Subject: [PATCH v3 1/1] net: Fix comment block per style guide Message-ID: <20191118230711.GA5493@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: 2B085C0E-0A58-11EA-BF0C-D1361DBA3BAF-64344220!pb-smtp2.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 Julia Lawall. -v3: Include my Sign-off. 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