Re: [v2] powerpc/fadump: return error when fadump registration fails

From: Michael Ellerman
Date: Mon Jun 05 2017 - 06:22:12 EST


On Sat, 2017-05-27 at 15:46:15 UTC, Michal Suchanek wrote:
> - log an error message when registration fails and no error code listed
> in the switch is returned
> - translate the hv error code to posix error code and return it from
> fw_register
> - return the posix error code from fw_register to the process writing
> to sysfs
> - return EEXIST on re-registration
> - return success on deregistration when fadump is not registered
> - return ENODEV when no memory is reserved for fadump
>
> Signed-off-by: Michal Suchanek <msuchanek@xxxxxxx>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/98b8cd7f75643e0a442d7a4c1cef2c

cheers