summaryrefslogtreecommitdiffstats
path: root/drivers/video/udlfb.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2011-07-08 11:04:38 +0200
committerPaul Mundt <lethal@linux-sh.org>2011-07-13 16:53:23 +0900
commitc84c14224bbca6ec60d5851fcc87be0e34df2f44 (patch)
tree7bdf80f9cef91d5910d70bd01d906d20449b47bb /drivers/video/udlfb.c
parentaf48d1c6c85752053ddfed5cfb3933d6336d645c (diff)
downloadblackbird-op-linux-c84c14224bbca6ec60d5851fcc87be0e34df2f44.tar.gz
blackbird-op-linux-c84c14224bbca6ec60d5851fcc87be0e34df2f44.zip
carminefb: Fix module parameters permissions
The third parameter of module_param is supposed to be an octal value. The missing leading "0" causes the following: $ ls -l /sys/module/carminefb/parameters/ total 0 -rw-rwxr-- 1 root root 4096 Jul 8 08:55 fb_displays -rw-rwxr-- 1 root root 4096 Jul 8 08:55 fb_mode -rw-rwxr-- 1 root root 4096 Jul 8 08:55 fb_mode_str After fixing the perm parameter, we get the expected: $ ls -l /sys/module/carminefb/parameters/ total 0 -r--r--r-- 1 root root 4096 Jul 8 08:56 fb_displays -r--r--r-- 1 root root 4096 Jul 8 08:56 fb_mode -r--r--r-- 1 root root 4096 Jul 8 08:56 fb_mode_str Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Sebastian Siewior <bigeasy@linutronix.de> Cc: stable@kernel.org Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers/video/udlfb.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud