Cleanup patch to use more restrictive access permission for debugfs file. Signed-off-by: Ajay Singh <ajay.kathat@xxxxxxxxxxxxx> --- drivers/staging/wilc1000/wilc_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index c9bc325..15e797b 100644 --- a/drivers/staging/wilc1000/wilc_debugfs.c +++ b/drivers/staging/wilc1000/wilc_debugfs.c @@ -65,7 +65,7 @@ ssize_t wilc_debug_level_write(struct file *filp, const char __user *buf, int wilc_debugfs_init(const struct file_operations *fops) { wilc_dir = debugfs_create_dir("wilc_wifi", NULL); - debugfs_create_file("wilc_debug_level", 0666, wilc_dir, NULL, fops); + debugfs_create_file("wilc_debug_level", 0600, wilc_dir, NULL, fops); return 0; } -- 2.7.4