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

Commit ccb55e32 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: service-locator: Return in case of no matching domains found"

parents cb04f02c e30ad704
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -300,8 +300,10 @@ static int service_locator_send_msg(struct pd_qmi_client_data *pd)
		if (!domains_read) {
			db_rev_count = pd->db_rev_count = resp->db_rev_count;
			pd->total_domains = resp->total_domains;
			if (!resp->total_domains)
				pr_info("No matching domains found\n");
			if (!resp->total_domains) {
				pr_err("No matching domains found\n");
				goto out;
			}

			pd->domain_list = kmalloc(
					sizeof(struct servreg_loc_entry_v01) *