mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
qcacmn: Add QDF_DEBUG_PANIC_FL stub
QDF_DEBUG_PANIC_FL is currently not defined when PANIC_ON_BUG is not enabled. Add a stub for this case to prevent compilation failures on non-debug builds. Change-Id: Id78ac189ad3e3ab096d2e44db5ce01afe599c3bb CRs-Fixed: 2293402
This commit is contained in:
parent
c2241bc64f
commit
75e840c4b1
1 changed files with 5 additions and 0 deletions
|
|
@ -301,6 +301,11 @@ static inline void __qdf_bug(void)
|
|||
/* no-op */ \
|
||||
} while (false)
|
||||
|
||||
#define QDF_DEBUG_PANIC_FL(func, line, fmt, args...) \
|
||||
do { \
|
||||
/* no-op */ \
|
||||
} while (false)
|
||||
|
||||
#define QDF_BUG(_condition) \
|
||||
do { \
|
||||
if (!(_condition)) { \
|
||||
|
|
|
|||
Loading…
Reference in a new issue