From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v10] devtools: alert on new instances of rte_panic and rte_exit Date: Mon, 16 Jul 2018 01:15:35 +0200 Message-ID: <5570581.lEyTUYlapn@xps> References: <1524723664-30510-11-git-send-email-arnon@qwilt.com> <5254321.ZC84c43z8L@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, "Burakov, Anatoly" , "Lu, Wenzhuo" , "Doherty, Declan" , jerin.jacob@caviumnetworks.com, Bruce Richardson , "Yigit, Ferruh" , Neil Horman To: Arnon Warshavsky Return-path: Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 53ED62BD8 for ; Mon, 16 Jul 2018 01:15:46 +0200 (CEST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 27/05/2018 22:34, Arnon Warshavsky: > This is consuming stdin. > > I guess the checkpatch.pl will have nothing to check in the next step. > > We should merge Neil's patch first, because he is adding a tmpfile > > to solve the issue of stdin read only once. > > > > Yup. Missed the fact stdin is consumed. temp file is a good idea > > > > > > + [ $? -eq 0 ] || return 0 > > > > This test looks reversed: if the result is not 0, we should not return 0. > > And by the way, I think it is better to continue with other checks. > > Neil's patch is setting ret=1, continue and return at the end. > > > > > report=$($DPDK_CHECKPATCH_PATH $options - 2>/dev/null) > > > > As it was agreed that this check should only warn and not fail the tests, > The actual situation is that the function check_forbidden_additions() > always returns zero. > Once Neils patch is in, I can align to the return value propagation, > but the current code never fails (that may change of course for future > different tokens) Neil's patch is merged. Please would you like to resume your work?