> On Jun 30, 2017, at 3:01 AM, Dan Carpenter <[email protected]> wrote:
> 
> The copy_from/to_user() functions return the number of bytes remaining
> to be copied but we had intended to return -EFAULT here.
> 
> Fixes: bc88ac47d5cb ("scsi: cxlflash: Support AFU debug")
> Signed-off-by: Dan Carpenter <[email protected]>

Good catch Dan!

Acked-by: Matthew R. Ochs <[email protected]>

Reply via email to