From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5SHbAvBm+ky4OkuojvvQhJ9kfvG18Y6cGbJM5MKcLE8=; b=QlN8nHEKXP+C+yfchF2yVYDbY8idmZ15CcQFUOlodyjAeXsaApA3Y6Vw4+yx7AMaeN qfMlV9zoGB56dIMjO9dwLnGXTVOpX+uTqaewvt2vEuCm3Uaf9vOz2K9eHVRe53ueNU+g sMrAZUpHMUcoPwsBSrzH68Orpl04NQ1E+4KuaUoKEBtjAMRKQf/tAqM7OSIJyNGRPL62 B4ohClC9/NwJRjNFMgorIguZ/zxP/U0I+5RucaGRpMEFpvSdOftdNDfQdqJJh68BX2q6 bKuM/mwoej7J2TKeOGbKl88ECSWM5vccQyTOFjEgaICxGN6u9US7o1Sq9rNX9jN1xXE0 tnfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5SHbAvBm+ky4OkuojvvQhJ9kfvG18Y6cGbJM5MKcLE8=; b=r4PWAeIhR/m/ADQ8i5X8yICwOPRsw37cR02W6xvfv8i7no+KhfXTskk7z/GAKVLOJG bcY5xtqAu8li6tCJgGYak16FPsA5zN/mXdIiG1RzHZtQ55mp7UVm00jLMxzPJ7BTFsbU 6V8mDCpb3BoblKOhNpP9eEz/aFpZEZloiQmoBVc/7jTtOWnh1NVlqaKOypnNSdoQejyW h/34e+ej14fYO76k9OogeES+hHn8os3jFFH5REEGcdQAbK4/lvfipb0pftbvQDJQIxk2 6h2EiJwVUj6KHTJ8fLr6mfElN+99eNc8shwvhj5lE87Xzf4NbG771OnxCRb/xc3xguW0 mFYQ== X-Gm-Message-State: ALQs6tAHCFsiDuh14cfdJGj5/3ESAJoNDpojHh4vXP+9iPYOzhCf+dac an9uA5Ea0fgho9U4jFzWDA2CeH3FmAY= X-Google-Smtp-Source: AIpwx4/bj7gWa8VcmbltacVo0+wU69sRmar4yA3LB3xNB1MUS6MzM7M55gsk0IKCSBqhvPnv7v3JnQ== X-Received: by 10.98.58.28 with SMTP id h28mr18804052pfa.209.1524610375867; Tue, 24 Apr 2018 15:52:55 -0700 (PDT) Received: from xeon-e3 (204-195-71-95.wavecable.com. [204.195.71.95]) by smtp.gmail.com with ESMTPSA id y7sm22499969pgr.26.2018.04.24.15.52.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Apr 2018 15:52:55 -0700 (PDT) Date: Tue, 24 Apr 2018 15:52:53 -0700 From: Stephen Hemminger To: Arnon Warshavsky 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 Message-ID: <20180424155253.7a11479f@xeon-e3> In-Reply-To: <1524608213-2080-12-git-send-email-arnon@qwilt.com> 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 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 22:52:57 -0000 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.