[PATCH] fsi: core: Fix return of error values on failures
Jeremy Kerr
jk at ozlabs.org
Fri Jun 4 11:44:33 AEST 2021
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 at ozlabs.org>
Cheers,
Jeremy
More information about the linux-fsi
mailing list