Commit 706811d7 authored by Federico Vaga's avatar Federico Vaga

sw:drv: g+w to sysfs attribute

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 82c65897
......@@ -178,7 +178,7 @@ static ssize_t reset_mask_store(struct device *dev,
DEVICE_ATTR(application_id, 0444, application_id_show, NULL);
DEVICE_ATTR(n_cpu, 0444, n_cpu_show, NULL);
DEVICE_ATTR(reset_mask, 0644, reset_mask_show, reset_mask_store);
DEVICE_ATTR(reset_mask, 0664, reset_mask_show, reset_mask_store);
static struct attribute *trtl_dev_attr[] = {
&dev_attr_application_id.attr,
......
......@@ -138,7 +138,7 @@ static ssize_t reset_store(struct device *dev,
return count;
}
DEVICE_ATTR(reset, 0644, reset_show, reset_store);
DEVICE_ATTR(reset, 0664, reset_show, reset_store);
static struct attribute *trtl_cpu_attr[] = {
&dev_attr_reset.attr,
......
......@@ -411,7 +411,7 @@ static ssize_t discard_all_store(struct device *dev,
return count;
}
DEVICE_ATTR(discard_all, 0200, NULL, discard_all_store);
DEVICE_ATTR(discard_all, 0220, NULL, discard_all_store);
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment