Re: [PATCH] scsi:sg: add sg_remove_request in sg_write

From: Martin K. Petersen
Date: Tue Apr 14 2020 - 21:18:50 EST



Wu,

> If the __copy_from_user function return failed, it should call
> sg_remove_request in sg_write.

Applied to 5.7/scsi-fixes (by hand, another mangled patch). Thanks.

--
Martin K. Petersen Oracle Linux Engineering