diff --git a/core/cdf/src/i_cdf_util.h b/core/cdf/src/i_cdf_util.h index db2f11fa7e62..1ca6b1d6e421 100644 --- a/core/cdf/src/i_cdf_util.h +++ b/core/cdf/src/i_cdf_util.h @@ -95,7 +95,7 @@ static inline int __cdf_status_to_os_return(CDF_STATUS status) pr_err("Assertion failed! %s:%s %s:%d\n", \ # expr, __func__, __FILE__, __LINE__); \ dump_stack(); \ - panic("Take care of the assert first\n"); \ + BUG_ON(1); \ } \ } while (0)