diff options
-rw-r--r-- | kernel/rtmutex-tester.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtmutex-tester.c b/kernel/rtmutex-tester.c index 7890b10084a7..55ad765c31f1 100644 --- a/kernel/rtmutex-tester.c +++ b/kernel/rtmutex-tester.c | |||
@@ -366,8 +366,8 @@ static ssize_t sysfs_test_status(struct device *dev, struct device_attribute *at | |||
366 | return curr - buf; | 366 | return curr - buf; |
367 | } | 367 | } |
368 | 368 | ||
369 | static DEVICE_ATTR(status, 0600, sysfs_test_status, NULL); | 369 | static DEVICE_ATTR(status, 0400, sysfs_test_status, NULL); |
370 | static DEVICE_ATTR(command, 0600, NULL, sysfs_test_command); | 370 | static DEVICE_ATTR(command, 0200, NULL, sysfs_test_command); |
371 | 371 | ||
372 | static struct bus_type rttest_subsys = { | 372 | static struct bus_type rttest_subsys = { |
373 | .name = "rttest", | 373 | .name = "rttest", |