Bladeren bron

qcacld-3.0: Enable RX_DESC_DEBUG_CHECK debug flag

Enable the flag in kbuild file for SLUB builds.

Change-Id: I4fbf3b775258567d7f9651b52b9f61401fb3a270
CRs-Fixed: 2390775
Mohit Khanna 6 jaren geleden
bovenliggende
commit
cf139fe9b6
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 1
      Kbuild
  2. 1 0
      configs/default_defconfig

+ 1 - 1
Kbuild

@@ -2453,7 +2453,7 @@ cppflags-$(CONFIG_LITHIUM) += -DFEATURE_AST
 cppflags-$(CONFIG_LITHIUM) += -DPEER_PROTECTED_ACCESS
 cppflags-$(CONFIG_LITHIUM) += -DSERIALIZE_QUEUE_SETUP
 cppflags-$(CONFIG_VERBOSE_DEBUG) += -DENABLE_VERBOSE_DEBUG
-
+cppflags-$(CONFIG_RX_DESC_DEBUG_CHECK) += -DRX_DESC_DEBUG_CHECK
 #Enable STATE MACHINE HISTORY
 cppflags-$(CONFIG_SM_ENG_HIST) += -DSM_ENG_HIST_ENABLE
 #Enable VDEV STATE MACHINE

+ 1 - 0
configs/default_defconfig

@@ -698,6 +698,7 @@ ifeq ($(CONFIG_SLUB_DEBUG_ON), y)
 	CONFIG_SCHED_HISTORY_SIZE := 256
 	CONFIG_TALLOC_DEBUG := y
 	CONFIG_UNIT_TEST := y
+	CONFIG_RX_DESC_DEBUG_CHECK:= y
 endif
 
 ifeq ($(CONFIG_UNIT_TEST), y)