From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver Date: Fri, 10 Jul 2015 12:33:15 -0500 Message-ID: <1436549595.2658.159.camel@freescale.com> References: <1436473322-21247-1-git-send-email-Roy.Pledge@freescale.com> <1436473322-21247-3-git-send-email-Roy.Pledge@freescale.com> <1436528160.20619.159.camel@tiscali.nl> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: Roy Pledge , , , To: Paul Bolle Return-path: In-Reply-To: <1436528160.20619.159.camel@tiscali.nl> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Fri, 2015-07-10 at 13:36 +0200, Paul Bolle wrote: > On do, 2015-07-09 at 16:21 -0400, Roy Pledge wrote: > > +#ifdef CONFIG_FSL_DPA_CHECKING > > +#define DPA_ASSERT(x) \ > > + do { \ > > + if (!(x)) { \ > > + pr_crit("ASSERT: (%s:%d) %s\n", __FILE__, __LINE__, \ > > + __stringify_1(x)); \ > > + dump_stack(); \ > > + panic("assertion failure"); \ > > Not my call, but why panic() here? I'm pretty sure I've complained about this before (as well as all the BUG_ONs). -Scott