Parcourir la source

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
Dustin Brown il y a 6 ans
Parent
commit
75e840c4b1
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      qdf/linux/src/i_qdf_trace.h

+ 5 - 0
qdf/linux/src/i_qdf_trace.h

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