Re: [PATCHv2] scsi: Fix get_user() in call sg_scsi_ioctl()

From: Martin K. Petersen
Date: Fri Nov 25 2022 - 22:14:37 EST



Kirill,

> get_user() expects the pointer to be pointer-to-simple-variable type,
> but sic->data is array of 'unsigned char'. It violates get_user()
> contracts.

Applied to 6.2/scsi-staging, thanks!

--
Martin K. Petersen Oracle Linux Engineering