aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2014-08-05 20:45:36 -0400
committerRusty Russell <rusty@rustcorp.com.au>2014-08-05 20:54:05 -0400
commit82867936b00a8b73d38796577a66357024cd22fc (patch)
tree77c4747beb37ff52688a18c0194186797353ccf2
parent2e3a10a1551d6ceea005e6a62ca58183b8976217 (diff)
drivers/video/fbdev/s3c2410fb.c: don't make debug world-writable.
We don't want random users to be able to spam the logs, and commit 37549e94c77a94a9c32b5ae3313a3801cb66adf9 (sysfs: disallow world-writable files.) finally makes this a build error. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r--drivers/video/fbdev/s3c2410fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/fbdev/s3c2410fb.c b/drivers/video/fbdev/s3c2410fb.c
index 81af5a63e9e1..6796d9d6c871 100644
--- a/drivers/video/fbdev/s3c2410fb.c
+++ b/drivers/video/fbdev/s3c2410fb.c
@@ -616,7 +616,7 @@ static int s3c2410fb_debug_store(struct device *dev,
616 return len; 616 return len;
617} 617}
618 618
619static DEVICE_ATTR(debug, 0666, s3c2410fb_debug_show, s3c2410fb_debug_store); 619static DEVICE_ATTR(debug, 0664, s3c2410fb_debug_show, s3c2410fb_debug_store);
620 620
621static struct fb_ops s3c2410fb_ops = { 621static struct fb_ops s3c2410fb_ops = {
622 .owner = THIS_MODULE, 622 .owner = THIS_MODULE,