soc: qcom: pdr: Add service path to error logs

When lookup fails, print the service path along with the
service name since the service name might not be unique.

Change-Id: I614d6c0a8d6cb8a83b47795315811fbf47bb6e48
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Gokul krishna Krishnakumar <quic_gokukris@quicinc.com>
This commit is contained in:
Gokul krishna Krishnakumar 2021-04-13 17:42:10 -07:00
parent 16b799c886
commit 154bbef675

View File

@ -478,8 +478,8 @@ static void pdr_notify_lookup_failure(struct pdr_handle *pdr,
struct pdr_service *pds,
int err)
{
pr_err("PDR: service lookup for %s failed: %d\n",
pds->service_name, err);
pr_err("PDR: service lookup for %s:%s failed: %d\n",
pds->service_path, pds->service_name, err);
if (err == -ENXIO)
return;