diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2018-03-26 17:02:33 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-03-30 15:10:32 +0200 |
commit | 741de617661794246f84a21a02fc5e327bffc9ad (patch) | |
tree | b85a6830c1722c33d3c8b2db55a4ccc0f3b2308f /drivers/macintosh/via-macii.c | |
parent | powerpc/pseries: Fix clearing of security feature flags (diff) | |
download | linux-741de617661794246f84a21a02fc5e327bffc9ad.tar.xz linux-741de617661794246f84a21a02fc5e327bffc9ad.zip |
powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write()
opal_nvram_write currently just assumes success if it encounters an
error other than OPAL_BUSY or OPAL_BUSY_EVENT. Have it return -EIO
on other errors instead.
Fixes: 628daa8d5abf ("powerpc/powernv: Add RTC and NVRAM support plus RTAS fallbacks")
Cc: stable@vger.kernel.org # v3.2+
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Acked-by: Stewart Smith <stewart@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh/via-macii.c')
0 files changed, 0 insertions, 0 deletions