drivers/video/fbdev/sm501fb.c: avoid world-writable sysfs files.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 14 May 2014 01:03:48 +0000 (10:33 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 14 May 2014 01:23:54 +0000 (10:53 +0930)
commit43d910ff15833c341f1c44eec77b34d7b9f42d21
treeb4a3a59240ccfcccc3ee3a1b41d75b85e2696858
parent993bcc62ce4437c5b46f503981cd5057ae90c008
drivers/video/fbdev/sm501fb.c: avoid world-writable sysfs files.

In line with practice for module parameters, we're adding a build-time
check that sysfs files aren't world-writable.

Cc: Vincent Sanders <vince@simtec.co.uk>
Cc: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/video/fbdev/sm501fb.c