aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrivatsa S. Bhat2013-04-30 04:47:16 -0500
committerGreg Kroah-Hartman2013-05-11 15:54:10 -0500
commit5a3f1f30a22ab33f948f0c4a6d56fc7cc5df5199 (patch)
treeb78952047e6614f0756b29da4304408062ae37ea /Documentation
parentc665070565cc75380d09c4a94142781191e8c22e (diff)
downloadkernel-omap-5a3f1f30a22ab33f948f0c4a6d56fc7cc5df5199.tar.gz
kernel-omap-5a3f1f30a22ab33f948f0c4a6d56fc7cc5df5199.tar.xz
kernel-omap-5a3f1f30a22ab33f948f0c4a6d56fc7cc5df5199.zip
EDAC: Don't give write permission to read-only files
commit c8c64d165ccfd2274058ac84e0c680f9b48c4ec1 upstream. I get the following warning on boot: ------------[ cut here ]------------ WARNING: at drivers/base/core.c:575 device_create_file+0x9a/0xa0() Hardware name: -[8737R2A]- Write permission without 'store' ... </snip> Drilling down, this is related to dynamic channel ce_count attribute files sporting a S_IWUSR mode without a ->store() function. Looking around, it appears that they aren't supposed to have a ->store() function. So remove the bogus write permission to get rid of the warning. Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> Cc: Mauro Carvalho Chehab <mchehab@redhat.com> [ shorten commit message ] Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions