From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v7 11/11] devtools: prevent new instances of rte_panic and rte_exit Date: Tue, 24 Apr 2018 15:52:53 -0700 Message-ID: <20180424155253.7a11479f@xeon-e3> References: <1524608213-2080-1-git-send-email-arnon@qwilt.com> <1524608213-2080-12-git-send-email-arnon@qwilt.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: thomas@monjalon.net, 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 To: Arnon Warshavsky Return-path: Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by dpdk.org (Postfix) with ESMTP id B24124C95 for ; Wed, 25 Apr 2018 00:52:56 +0200 (CEST) Received: by mail-pg0-f65.google.com with SMTP id i194so11919264pgd.0 for ; Tue, 24 Apr 2018 15:52:56 -0700 (PDT) In-Reply-To: <1524608213-2080-12-git-send-email-arnon@qwilt.com> 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 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.