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

Staging: frontier: 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: David Taht <d@teklibre.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

+1 -1
+1 -1
drivers/staging/frontier/tranzport.c
··· 204 204 t->value = temp; \ 205 205 return count; \ 206 206 } \ 207 - static DEVICE_ATTR(value, S_IRUSR | S_IRUGO, show_##value, set_##value); 207 + static DEVICE_ATTR(value, S_IWUSR | S_IRUGO, show_##value, set_##value); 208 208 209 209 show_int(enable); 210 210 show_int(offline);