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:
Dustin Brown
2018-08-08 09:45:50 -07:00
committed by nshrivas
parent c2241bc64f
commit 75e840c4b1

View File

@@ -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)) { \