[PATCH] powerpc/powernv/nvram: opal_nvram_write handle unknown OPAL errors

Stewart Smith stewart at linux.ibm.com
Thu Mar 29 15:27:46 AEDT 2018

Nicholas Piggin <npiggin at gmail.com> writes:
> 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.
> Signed-off-by: Nicholas Piggin <npiggin at gmail.com>
> ---
>  arch/powerpc/platforms/powernv/opal-nvram.c | 2 ++
>  1 file changed, 2 insertions(+)

Acked-by: Stewart Smith <stewart at linux.ibm.com>

Stewart Smith
OPAL Architect, IBM.

More information about the Linuxppc-dev mailing list