Explorar o código

qcacmn: Enable kernel panic on memory leak

Enable kernel panic on memory leak such that all basic memory
leak issues are reported every time and gets fixed on priority.

Change-Id: Ie990fa5bc4435ab717277578fa3a2ea71925e6d1
CRs-Fixed: 2030988
Rajeev Kumar %!s(int64=8) %!d(string=hai) anos
pai
achega
c350256efa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      qdf/linux/src/qdf_mem.c

+ 1 - 1
qdf/linux/src/qdf_mem.c

@@ -847,7 +847,7 @@ void qdf_mem_clean(void)
 				  prev_mleak_line_num, prev_mleak_sz);
 		}
 #ifdef CONFIG_HALT_KMEMLEAK
-		BUG_ON(0);
+		BUG_ON(1);
 #endif
 	}
 }