[PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver
Scott Wood
scottwood at freescale.com
Sat Jul 11 03:33:15 AEST 2015
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
More information about the Linuxppc-dev
mailing list