From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Traynor Subject: Re: [PATCH v9 10/10] devtools: prevent new instances of rte_panic and rte_exit Date: Fri, 27 Apr 2018 11:02:51 +0100 Message-ID: <3bc1745d-c294-4059-db60-b40387d89378@redhat.com> References: <1524663944-30376-11-git-send-email-arnon@qwilt.com> <1524723664-30510-1-git-send-email-arnon@qwilt.com> <1524723664-30510-11-git-send-email-arnon@qwilt.com> <22f61f91-9755-520c-9ba1-d93a312a43e3@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Thomas Monjalon , "Burakov, Anatoly" , "Lu, Wenzhuo" , "Doherty, Declan" , jerin.jacob@caviumnetworks.com, Bruce Richardson , "Yigit, Ferruh" , dev@dpdk.org To: Arnon Warshavsky Return-path: Received: from mx1.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by dpdk.org (Postfix) with ESMTP id 7101A72FB for ; Fri, 27 Apr 2018 12:02:54 +0200 (CEST) In-Reply-To: Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 04/26/2018 10:57 PM, Arnon Warshavsky wrote: > > > On Thu, Apr 26, 2018 at 7:08 PM, Kevin Traynor > wrote: > > I think the first line of the commit msg ^^^ should change as it no > longer prevents but just warns > > Actually the return value did not change, only the warning text did. So will it fail checkpatch in patchwork? I agree with Aaron and Anatoly that patches with rte_panic/exit should flag some warning message, but the maintainer should have final say. I don't think failing checkpatch is the solution for that. > I would rather keep the word 'prevents' as an intention declaration that > puts the fact that a panic is undesired first, and the technical ability > of a maintainer to allow it second. It's only words, but to me 'prevents' does not indicate that it is undesirable - it indicates it is not allowed. > This is just in terms of how one positions the usage of panic. > > > > > > > Seems to drop the patch name if it finds a match > > > Not sure I understand what you meant here. Can you please elaborate? > Sure, I made a patch with an rte_panic and ran checkpatch on a bunch of patches. It gave me the name of all the patches except the one with the rte_panic. > Thanks > /Arnon >