From 75e840c4b15748cf30b16b9244aea9586a8b3424 Mon Sep 17 00:00:00 2001 From: Dustin Brown Date: Wed, 8 Aug 2018 09:45:50 -0700 Subject: [PATCH] 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 --- qdf/linux/src/i_qdf_trace.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qdf/linux/src/i_qdf_trace.h b/qdf/linux/src/i_qdf_trace.h index 34d82d2aa2b0..59edf4cf0bc0 100644 --- a/qdf/linux/src/i_qdf_trace.h +++ b/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)) { \