Re: [PATCH] scsi: megaraid_sas: fix a missing-check bug

From: Martin K. Petersen
Date: Tue Oct 16 2018 - 17:56:46 EST



Wenwen,

> This patch enforces a check on the two kernel variables 'local_sense_off'
> and 'user_sense_off' to make sure they are the same after the copy. In case
> they are not, an error code EINVAL will be returned.

Applied to 4.20/scsi-queue, thank you!

--
Martin K. Petersen Oracle Linux Engineering