[PATCH 02/17] cxlflash: Update cxlflash_afu_sync() to return errno

Matthew R. Ochs mrochs at linux.vnet.ibm.com
Fri Jun 23 05:54:12 AEST 2017


> On Jun 21, 2017, at 9:13 PM, Uma Krishnan <ukrishn at linux.vnet.ibm.com> wrote:
> 
> The cxlflash_afu_sync() routine returns a negative one to indicate any kind
> of failure. This makes it impossible to establish why the error occurred.
> 
> Update the return codes to clearly indicate the failure cause to the
> caller.
> 
> Signed-off-by: Uma Krishnan <ukrishn at linux.vnet.ibm.com>

Acked-by: Matthew R. Ochs <mrochs at linux.vnet.ibm.com>



More information about the Linuxppc-dev mailing list