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
This commit is contained in:
Rajeev Kumar
2017-04-07 20:38:49 -07:00
committed by Sandeep Puligilla
parent ea68a2c6f2
commit c350256efa

View File

@@ -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
}
}