diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-26 18:52:26 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-05-26 18:52:26 +0200 |
commit | 932ff06b2a3b4dd3da4dff35c51fa3398e30b635 (patch) | |
tree | 382cc29e6fd472975f164fafe0fd77571434616b /drivers | |
parent | Merge branch 'parisc-for-3.10' of git://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
parent | amd64_edac: Fix bogus sysfs file permissions (diff) | |
download | linux-932ff06b2a3b4dd3da4dff35c51fa3398e30b635.tar.xz linux-932ff06b2a3b4dd3da4dff35c51fa3398e30b635.zip |
Merge tag 'edac_fixes_for_3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
Pull amd64 edac fix from Borislav Petkov:
"A sysfs file permissions correction"
* tag 'edac_fixes_for_3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
amd64_edac: Fix bogus sysfs file permissions
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/edac/amd64_edac_inj.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/edac/amd64_edac_inj.c b/drivers/edac/amd64_edac_inj.c index 8c171fa1cb9b..845f04786c2d 100644 --- a/drivers/edac/amd64_edac_inj.c +++ b/drivers/edac/amd64_edac_inj.c @@ -202,9 +202,9 @@ static DEVICE_ATTR(inject_word, S_IRUGO | S_IWUSR, amd64_inject_word_show, amd64_inject_word_store); static DEVICE_ATTR(inject_ecc_vector, S_IRUGO | S_IWUSR, amd64_inject_ecc_vector_show, amd64_inject_ecc_vector_store); -static DEVICE_ATTR(inject_write, S_IRUGO | S_IWUSR, +static DEVICE_ATTR(inject_write, S_IWUSR, NULL, amd64_inject_write_store); -static DEVICE_ATTR(inject_read, S_IRUGO | S_IWUSR, +static DEVICE_ATTR(inject_read, S_IWUSR, NULL, amd64_inject_read_store); |