Re: [PATCH] fsi: core: Fix return of error values on failures

From: Jeremy Kerr
Date: Thu Jun 03 2021 - 21:44:45 EST


Hi Colin,
> Currently the cfam_read and cfam_write functions return the provided
> number of bytes given in the count parameter and not the error return
> code in variable rc, hence all failures of read/writes are being
> silently ignored. Fix this by returning the error code in rc.

Looks good to me, thanks for the fix.

Reviewed-by: Jeremy Kerr <jk@xxxxxxxxxx>

Cheers,


Jeremy