From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnon Warshavsky Subject: Re: [PATCH] eal: register rte_panic user callback Date: Wed, 7 Mar 2018 18:31:33 +0200 Message-ID: References: <1520360928-9375-1-git-send-email-arnon@qwilt.com> <81ecbc4a-0200-3b42-8da1-fe87e8c14c04@intel.com> <1968690.y4bVNFghIW@xps> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: "Burakov, Anatoly" , Bruce Richardson , dev@dpdk.org To: Thomas Monjalon Return-path: Received: from mail-it0-f52.google.com (mail-it0-f52.google.com [209.85.214.52]) by dpdk.org (Postfix) with ESMTP id 72D815B12 for ; Wed, 7 Mar 2018 17:31:34 +0100 (CET) Received: by mail-it0-f52.google.com with SMTP id v194so4139905itb.0 for ; Wed, 07 Mar 2018 08:31:34 -0800 (PST) In-Reply-To: <1968690.y4bVNFghIW@xps> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > Can we add a compile warning for adding new rte_panic's into code? It's a > > > nice tool while debugging, but it probably shouldn't be in any new > > > production code. > > Yes could be nice to automatically detect it in drivers/ or lib/ > directories. > How do we apply a warning only to new code? via checkpatch?