powernv: Fix permissions on sysparam sysfs entries
authorAnton Blanchard <anton@samba.org>
Sat, 7 Jun 2014 01:29:01 +0000 (11:29 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 11 Jun 2014 07:03:15 +0000 (17:03 +1000)
commit1bd098903fda069cb96fe8b5cb4595b46c683385
treeb8e14f179cdd7433364916d85ba547e1bc3bb172
parentad417330628c60e83692211e7161eb49e1843318
powernv: Fix permissions on sysparam sysfs entries

Everyone can write to these files, which is not what we want.

Cc: stable@vger.kernel.org # 3.15
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powernv/opal-sysparam.c