Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a767fda authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarJonathan Cameron <jic23@cam.ac.uk>
Cc: David Taht <d@teklibre.com>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 515b4987
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -204,7 +204,7 @@ static void usb_tranzport_abort_transfers(struct usb_tranzport *dev)
		t->value = temp;	\
		t->value = temp;	\
		return count;	\
		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(enable);
show_int(offline);
show_int(offline);