USB: misc: usbsevseg: fix up some sysfs attribute permissions
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:36:44 +0000 (11:36 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:33:09 +0000 (13:33 -0800)
commitc16a9e5b8b999e652a79288b83891aa174a8813e
tree2d7c56d2b0e8809e5aea9ce5b3f802f38bb65be7
parent9df231aa159bcd4955711ba129d6c906c3f9338d
USB: misc: usbsevseg: fix up some sysfs attribute permissions

commit e24d7ace4e822debcb78386bf279c9aba4d7fbd1 upstream.

They should not be writable by any user.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Harrison Metzger <harrisonmetz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbsevseg.c