]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Staging: iio: adis16220: fix up some sysfs attribute permissions
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Nov 2010 19:19:53 +0000 (11:19 -0800)
committerAndi Kleen <ak@linux.intel.com>
Tue, 14 Dec 2010 22:40:15 +0000 (23:40 +0100)
commit5a9af118fbe4756ac93b7f201da149810b847b12
treec0b9a166bdece27a7920199ad0437f455fe1f410
parentee8ee3cb9f8fe7a51ef7d2bec8495a92d2a2d338
Staging: iio: adis16220: fix up some sysfs attribute permissions

commit 1d904e8950c86e670ace237eaea1d48cd81e94df upstream.

They should not be writable by any user

Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Cc: Barry Song <Barry.Song@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
drivers/staging/iio/accel/adis16220_core.c