summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYong Ding <yongding@codeaurora.org>2018-06-19 16:26:30 +0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-06-19 01:56:29 -0700
commit3a1f559efad27889f1df74db744e4f4333524ec1 (patch)
treeac6674a71a794abc41d930a9a0e13d1cc4b1f1d8
parent333c319df3338584a0998739aefc171febeff230 (diff)
soc: qcom: hab: clean the compilation issues
This fixes the hab compilation issues found when CONFIG_GHS_VMM is enabled. Change-Id: Ie4b6aca5f0a7f549273d939dd6069e55db7877c4 Signed-off-by: Yong Ding <yongding@codeaurora.org>
-rw-r--r--drivers/soc/qcom/hab/ghs_comm.c2
-rw-r--r--drivers/soc/qcom/hab/hab_ghs.c3
2 files changed, 1 insertions, 4 deletions
diff --git a/drivers/soc/qcom/hab/ghs_comm.c b/drivers/soc/qcom/hab/ghs_comm.c
index 97d43f4c2667..825f33a23858 100644
--- a/drivers/soc/qcom/hab/ghs_comm.c
+++ b/drivers/soc/qcom/hab/ghs_comm.c
@@ -129,7 +129,7 @@ void physical_channel_rx_dispatch(unsigned long physical_channel)
/* no more pending msg */
break;
}
- pr_error("recv unhandled result %d, size %zd\n",
+ pr_err("recv unhandled result %d, size %zd\n",
result, dev->read_size);
break;
}
diff --git a/drivers/soc/qcom/hab/hab_ghs.c b/drivers/soc/qcom/hab/hab_ghs.c
index 859f47f3ed59..11fd6bb92a90 100644
--- a/drivers/soc/qcom/hab/hab_ghs.c
+++ b/drivers/soc/qcom/hab/hab_ghs.c
@@ -184,9 +184,6 @@ int habhyp_commdev_dealloc(void *commdev)
struct ghs_vdev *dev = pchan->hyp_data;
kgipc_endpoint_free(dev->endpoint);
-
- spin_lock_destroy(&dev->io_lock);
-
kfree(dev->read_data);
kfree(dev);