diff options
| author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-18 11:21:04 -0800 | 
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-11-18 11:27:18 -0800 | 
| commit | 2a767fda5d0d8dcff465724dfad6ee131489b3f2 (patch) | |
| tree | a718fe925e7e210e3f56735e35236b1b9ed1c04a | |
| parent | 515b4987ccd097cdf5416530b05fdf9e01afe95a (diff) | |
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>
| -rw-r--r-- | drivers/staging/frontier/tranzport.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/drivers/staging/frontier/tranzport.c b/drivers/staging/frontier/tranzport.c index 1611a27e9b77..8894ab14f167 100644 --- a/drivers/staging/frontier/tranzport.c +++ b/drivers/staging/frontier/tranzport.c @@ -204,7 +204,7 @@ static void usb_tranzport_abort_transfers(struct usb_tranzport *dev)  		t->value = temp;	\  		return count;	\  	}	\ -	static DEVICE_ATTR(value, S_IRUSR | S_IRUGO, show_##value, set_##value); +	static DEVICE_ATTR(value, S_IWUSR | S_IRUGO, show_##value, set_##value);  show_int(enable);  show_int(offline); | 
