summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-08-23 23:15:46 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-08-23 23:15:46 -0700
commit87d4444575cd6c2810639a93ccf75fc364bca3e5 (patch)
tree1015d3e2a34fbb76ebce161dca01a14f18ff8fff
parent710f9d4cd81f90b28cd6b3f0e696f1e946d88742 (diff)
parent8bdbc287ee32a1757841cb06c712c6ea4fd18afb (diff)
Merge "soc: qcom: hab: fix the incompatible pointer initialization warning"
-rw-r--r--drivers/soc/qcom/hab/khab_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/soc/qcom/hab/khab_test.c b/drivers/soc/qcom/hab/khab_test.c
index bb04815ad35e..6add7af0489f 100644
--- a/drivers/soc/qcom/hab/khab_test.c
+++ b/drivers/soc/qcom/hab/khab_test.c
@@ -278,7 +278,7 @@ static ssize_t vchan_show(struct kobject *kobj, struct kobj_attribute *attr,
}
static ssize_t vchan_store(struct kobject *kobj, struct kobj_attribute *attr,
- char *buf, size_t count)
+ const char *buf, size_t count)
{
int ret;
@@ -297,7 +297,7 @@ static ssize_t ctx_show(struct kobject *kobj, struct kobj_attribute *attr,
}
static ssize_t ctx_store(struct kobject *kobj, struct kobj_attribute *attr,
- char *buf, size_t count)
+ const char *buf, size_t count)
{
int ret;
@@ -316,7 +316,7 @@ static ssize_t expimp_show(struct kobject *kobj, struct kobj_attribute *attr,
}
static ssize_t expimp_store(struct kobject *kobj, struct kobj_attribute *attr,
- char *buf, size_t count)
+ const char *buf, size_t count)
{
int ret;