Commit 5f52f319 authored by Cheah Kok Cheong's avatar Cheah Kok Cheong Committed by Greg Kroah-Hartman

Staging: comedi: proc: Change file permission to read only

As there's no write operation, change to read only.
Was inadvertantly switched to 0644 in commit 1f817b86
("comedi: Don't use create_proc_read_entry()").
Signed-off-by: default avatarCheah Kok Cheong <thrust73@gmail.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bf279ece
......@@ -88,7 +88,7 @@ static const struct file_operations comedi_proc_fops = {
void comedi_proc_init(void)
{
proc_create("comedi", 0644, NULL, &comedi_proc_fops);
proc_create("comedi", 0444, NULL, &comedi_proc_fops);
}
void comedi_proc_cleanup(void)
......
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