]> git.baikalelectronics.ru Git - kernel.git/commit
staging: keucr: be explicit to the sysfs file permissions
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:33:07 +0000 (10:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 24 Aug 2013 17:33:07 +0000 (10:33 -0700)
commit90898c9f9236629f419dcd302a2703a32438767f
tree66a656b36b5bf291fd0d49a9bb9abefd8f60ee09
parent79e1d12f4cc2172e36147e4e97ae2bb208b654d1
staging: keucr: be explicit to the sysfs file permissions

Use the DEVICE_ATTR_RW() macro to be clearer as to the permissions for
the sysfs file, making it easier to audit the code.

Cc: Al Cho <acho@novell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/keucr/scsiglue.c