From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 971414C99 for ; Wed, 25 Apr 2018 01:03:24 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A043E20A4D; Tue, 24 Apr 2018 19:03:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 24 Apr 2018 19:03:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=XvXu1n/sZ6rsB8GE5fqDH/IMZ7 bZTbScGQVT9KqQrYg=; b=DiUfawV4bAZdmc0zJ0nzpTYBdg3xm5rhmcBBz/KyMm iOeYUEc7sLNNhFRa6BEXiw4i7cFrmcuSztUoIhD+QgU1oN9ojfjzGzsKMvbooP3M 8XxgPcH81uThq9BWpOmTIpwL+XISVoV3uhHAf1rzYgGN8p5aXtbu8k+T3Eq5Di61 U= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=XvXu1n /sZ6rsB8GE5fqDH/IMZ7bZTbScGQVT9KqQrYg=; b=Fy1WU/em+TxvzKfTlhxN5U tVCbyp1b2k+n6WgljsNvapl0+YK0v7xqo/ejq+RRPHXXqvTL/qXH7jWs3ez30kMM kP9u1NI+uRjwTNAeitShsy2c05ayBHB43t8jm8/ONkKzrit2nquW11Nz8DQp7V0u IqOEwF+qliMHapk2rAiAX/IBaXV1dj7VpsouT+Y86Akpcsx+d+BZqNcdBPaKKtnZ tv6Pe53U4I/ELyKcMKbXkWyT//FSmCKSkxsPMl2MPkGP0TYODb67ccZUlsiKZono wpbxKRSNtmkmcSJKWcGKFp0UP/1i9v0ku/L3Om1QNqVY7YSW02Aw8wCZOzTZMd8w == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 27AC7E4ED0; Tue, 24 Apr 2018 19:03:21 -0400 (EDT) From: Thomas Monjalon To: Stephen Hemminger Cc: Arnon Warshavsky , anatoly.burakov@intel.com, wenzhuo.lu@intel.com, declan.doherty@intel.com, jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com, ferruh.yigit@intel.com, dev@dpdk.org Date: Wed, 25 Apr 2018 01:03:20 +0200 Message-ID: <3515084.lgnKaFBshB@xps> In-Reply-To: <20180424155253.7a11479f@xeon-e3> References: <1524608213-2080-1-git-send-email-arnon@qwilt.com> <1524608213-2080-12-git-send-email-arnon@qwilt.com> <20180424155253.7a11479f@xeon-e3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v7 11/11] devtools: prevent new instances of rte_panic and rte_exit 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: Tue, 24 Apr 2018 23:03:24 -0000 25/04/2018 00:52, Stephen Hemminger: > On Wed, 25 Apr 2018 01:16:53 +0300 > Arnon Warshavsky wrote: > > > This patch adds a new function that is called > > per every checked patch, > > and alerts for new instances of rte_panic/rte_exit. > > The check excludes comments, and alerts in the case > > of a positive balance between additions and removals. > > > > Signed-off-by: Arnon Warshavsky > > Why not just mark the functions as deprecated with compiler attribute. No, the applications can use these functions.