Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae146b9a authored by Rohit Agarwal's avatar Rohit Agarwal
Browse files

soc: qcom: minidump_log: Protect md_dump_slabinfo under SLUB_DEBUG



Protect md_dump_slabinfo call only if SLUB_DEBUG is enabled.

Change-Id: I1f703e039517dd24fad303f830a6a30a3f32c3f7
Signed-off-by: default avatarRohit Agarwal <quic_rohiagar@quicinc.com>
parent e602774f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1006,10 +1006,10 @@ static int md_panic_handler(struct notifier_block *this,
	if (md_meminfo_seq_buf)
		md_dump_meminfo();

#ifdef CONFIG_SLUB_DEBUG
	if (md_slabinfo_seq_buf)
		md_dump_slabinfo();

#ifdef CONFIG_SLUB_DEBUG
	if (md_slabowner_dump_addr)
		md_dump_slabowner();
#endif