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

Commit 99c05f92 authored by Alan Kwong's avatar Alan Kwong Committed by Kyle Yan
Browse files

msm: mdss: Add dereference check for xlog vbif dump



Bypass vbif dump for ununsed vbif by checking for
null pointer dereference of io base.

Change-Id: Ic7204921fc82d5aea31c58fcbb668b296794b1c1
CRs-Fixed: 1030443
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
parent 54588859
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -349,7 +349,7 @@ static void mdss_dump_vbif_debug_bus(u32 bus_dump_flag,
		bus_size = mdata->nrt_vbif_dbg_bus_size;
	}

	if (!dbg_bus || !bus_size)
	if (!vbif_base || !dbg_bus || !bus_size)
		return;

	/* allocate memory for each test point */