Commit 932ff06b2a3b4dd3da4dff35c51fa3398e30b635
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
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
Showing 1 changed file Side-by-side Diff
drivers/edac/amd64_edac_inj.c
... | ... | @@ -202,9 +202,9 @@ |
202 | 202 | amd64_inject_word_show, amd64_inject_word_store); |
203 | 203 | static DEVICE_ATTR(inject_ecc_vector, S_IRUGO | S_IWUSR, |
204 | 204 | amd64_inject_ecc_vector_show, amd64_inject_ecc_vector_store); |
205 | -static DEVICE_ATTR(inject_write, S_IRUGO | S_IWUSR, | |
205 | +static DEVICE_ATTR(inject_write, S_IWUSR, | |
206 | 206 | NULL, amd64_inject_write_store); |
207 | -static DEVICE_ATTR(inject_read, S_IRUGO | S_IWUSR, | |
207 | +static DEVICE_ATTR(inject_read, S_IWUSR, | |
208 | 208 | NULL, amd64_inject_read_store); |
209 | 209 | |
210 | 210 |