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

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

Merge "qseecom: add NULL check for ptr_svc->ihandle"

parents fb06da15 4b8af617
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1811,7 +1811,7 @@ static int __qseecom_process_incomplete_cmd(struct qseecom_dev_handle *data,
		else
			*(uint32_t *)cmd_buf =
				QSEOS_LISTENER_DATA_RSP_COMMAND_WHITELIST;
		if (ptr_svc) {
		if (ptr_svc && ptr_svc->ihandle) {
			ret = msm_ion_do_cache_op(qseecom.ion_clnt,
					ptr_svc->ihandle,
					ptr_svc->sb_virt, ptr_svc->sb_length,
@@ -2125,7 +2125,7 @@ static int __qseecom_reentrancy_process_incomplete_cmd(
		else
			*(uint32_t *)cmd_buf =
				QSEOS_LISTENER_DATA_RSP_COMMAND_WHITELIST;
		if (ptr_svc) {
		if (ptr_svc && ptr_svc->ihandle) {
			ret = msm_ion_do_cache_op(qseecom.ion_clnt,
					ptr_svc->ihandle,
					ptr_svc->sb_virt, ptr_svc->sb_length,