Browse Source

qcacld-3.0: Replace panic with BUG_ON

qcacld-2.0 to qcacld-3.0 propagation

Register values are captured in the crash dump with BUG_ON.

Change-Id: I33500aea0769879d63b2e684dc898ba0e3b0b5a2
CRs-Fixed: 813402
Dhanashri Atre 9 years ago
parent
commit
9c898e7c00
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/cdf/src/i_cdf_util.h

+ 1 - 1
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)