Merge "soc: qcom: service-locator: Return in case of no matching domains found"
This commit is contained in:
commit
d8d96f71f3
1 changed files with 4 additions and 2 deletions
|
@ -266,8 +266,10 @@ static int service_locator_send_msg(struct pd_qmi_client_data *pd)
|
||||||
if (!domains_read) {
|
if (!domains_read) {
|
||||||
db_rev_count = pd->db_rev_count = resp->db_rev_count;
|
db_rev_count = pd->db_rev_count = resp->db_rev_count;
|
||||||
pd->total_domains = resp->total_domains;
|
pd->total_domains = resp->total_domains;
|
||||||
if (!resp->total_domains)
|
if (!resp->total_domains) {
|
||||||
pr_info("No matching domains found\n");
|
pr_err("No matching domains found\n");
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
pd->domain_list = kmalloc(
|
pd->domain_list = kmalloc(
|
||||||
sizeof(struct servreg_loc_entry_v01) *
|
sizeof(struct servreg_loc_entry_v01) *
|
||||||
|
|
Loading…
Add table
Reference in a new issue