From 83b2ce6faaacd5ef4fc45e8f4968fb28a0f1e1ec Mon Sep 17 00:00:00 2001 From: Naman Padhiar Date: Fri, 29 Jan 2021 23:41:33 +0530 Subject: [PATCH] qcacld-3.0: Collect return value of pld_ipci_smmu_get_domain Return value of pld_ipci_smmu_get_domain is not collected and return to caller. Properly collect return value of pld_ipci_smmu_get_domain. Change-Id: Ia09f5eba950cb2631f4696fc927c32f49821b9ff --- core/pld/src/pld_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/pld/src/pld_common.c b/core/pld/src/pld_common.c index f10327eb79f2..1c24f77e51de 100644 --- a/core/pld/src/pld_common.c +++ b/core/pld/src/pld_common.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2020 The Linux Foundation. All rights reserved. + * Copyright (c) 2016-2021 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -1875,7 +1875,7 @@ void *pld_smmu_get_domain(struct device *dev) case PLD_BUS_TYPE_SNOC_FW_SIM: break; case PLD_BUS_TYPE_IPCI: - pld_ipci_smmu_get_domain(dev); + ptr = pld_ipci_smmu_get_domain(dev); break; case PLD_BUS_TYPE_SDIO: case PLD_BUS_TYPE_USB: