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

Commit 946b821e authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: memory_dump_v2: fix the end address passed to dmac_flush_range()"

parents 17189323 c46b7d2a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ static int msm_dump_table_register(struct msm_dump_entry *entry)
	e->addr = entry->addr;
	table->num_entries++;

	dmac_flush_range(table, table + sizeof(struct msm_dump_table));
	dmac_flush_range(table, (void *)table + sizeof(struct msm_dump_table));
	return 0;
}

@@ -102,7 +102,7 @@ int msm_dump_data_register(enum msm_dump_table_ids id,
	e->addr = entry->addr;
	table->num_entries++;

	dmac_flush_range(table, table + sizeof(struct msm_dump_table));
	dmac_flush_range(table, (void *)table + sizeof(struct msm_dump_table));
	return 0;
}
EXPORT_SYMBOL(msm_dump_data_register);