From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 07C5F5911 for ; Mon, 30 Jan 2017 17:51:23 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx16.intmail.prod.int.phx2.redhat.com [10.5.11.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 326D880F7C; Mon, 30 Jan 2017 16:51:23 +0000 (UTC) Received: from dhcp-25-97.bos.redhat.com (dhcp-25-172.bos.redhat.com [10.18.25.172]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CEA25BA2D7; Mon, 30 Jan 2017 16:51:22 +0000 (UTC) From: Aaron Conole To: Stephen Hemminger Cc: dev@dpdk.org References: <1485529023-5486-1-git-send-email-aconole@redhat.com> <1485529023-5486-15-git-send-email-aconole@redhat.com> <20170127083047.3159032b@xeon-e3> Date: Mon, 30 Jan 2017 11:51:21 -0500 In-Reply-To: <20170127083047.3159032b@xeon-e3> (Stephen Hemminger's message of "Fri, 27 Jan 2017 08:30:47 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.74 on 10.5.11.28 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 30 Jan 2017 16:51:23 +0000 (UTC) Subject: Re: [dpdk-dev] [PATCH 14/25] eal: do not panic on tailq init X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2017 16:51:24 -0000 Stephen Hemminger writes: > On Fri, 27 Jan 2017 09:56:52 -0500 > Aaron Conole wrote: > >> + /* no need to TAILQ_REMOVE, we are going to disallow re-attemtps >> + * for rte_eal_init(). */ > > Please put multi-line comments in form: > /* > * this is a long comment > * because there really is lots to say > */ Okay, will do. > In many cases, having shorter comment is the best way to handle these. > Often developer writes long comment for themselves because what ever problem > they saw was urgent. Then comment becomes irrelevant later. > > /* TAILQ_REMOVE not needed, error is already fatal */ I'll fold this in. Thanks for the review!