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

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

Merge "adreno_tz: Correct tz_buf pointer type to correct pointer arithmetic"

parents 39bdb308 b668b4ef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -236,7 +236,7 @@ static int tz_init_ca(struct devfreq_msm_adreno_tz_data *priv)
{
	unsigned int tz_ca_data[2];
	struct scm_desc desc = {0};
	unsigned int *tz_buf;
	u8 *tz_buf;
	int ret;

	/* Set data for TZ */
@@ -281,7 +281,7 @@ static int tz_init(struct devfreq_msm_adreno_tz_data *priv,
			scm_is_call_available(SCM_SVC_DCVS, TZ_UPDATE_ID_64) &&
			scm_is_call_available(SCM_SVC_DCVS, TZ_RESET_ID_64)) {
		struct scm_desc desc = {0};
		unsigned int *tz_buf;
		u8 *tz_buf;

		if (!is_scm_armv8()) {
			ret = scm_call(SCM_SVC_DCVS, TZ_INIT_ID_64,