]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: storage: sierra_ms: fix sysfs file attribute
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 15 Nov 2010 19:17:52 +0000 (11:17 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:26:57 +0000 (13:26 -0800)
commit3e4233a4069bed17484bbe17c7a3ee8ce9763f23
tree2b092372547f767244f8f7ae4c3b7a1711b14c2f
parentc2edb52c5b1d18c80b55d3be663c99b7f5dc5877
USB: storage: sierra_ms: fix sysfs file attribute

commit d9624e75f6ad94d8a0718c1fafa89186d271a78c upstream.

A non-writable sysfs file shouldn't have writable attributes.

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Kevin Lloyd <klloyd@sierrawireless.com>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/sierra_ms.c