Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: samsung-laptop: fix up my fixup for some sysfs attribute permissions

They should be writable by root, not readable.
Doh, stupid me with the wrong flags.

Reported-by: Jonathan Cameron <jic23@cam.ac.uk>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+1 -1
+1 -1
drivers/staging/samsung-laptop/samsung-laptop.c
··· 356 356 } 357 357 return count; 358 358 } 359 - static DEVICE_ATTR(silent, S_IRUSR | S_IRUGO, 359 + static DEVICE_ATTR(silent, S_IWUSR | S_IRUGO, 360 360 get_silent_state, set_silent_state); 361 361 362 362