On Fri, 20 Aug 2021 16:02:52 +0900, Damien Le Moal wrote: > The first patch in this series is the formet standalone patch titled > "scsi: fix scsi_mode_sense()". Patch 2 fixes similar buffer length > handling problems found in scsi_mode_select(). > Patch 3 fixes the use of scsi_mode_sense() in sd.c to ensure that calls > are issued with a sensible buffer size for devices that explicitly > requested the use of MODE SENSE 10 (e.g. SATA drives on AHCI). > > [...] Applied to 5.16/scsi-queue, thanks! [1/3] scsi: fix scsi_mode_sense() buffer length handling https://git.kernel.org/mkp/scsi/c/17b49bcbf835 [2/3] scsi: fix scsi_mode_select() buffer length handling https://git.kernel.org/mkp/scsi/c/a7d6840bed0c [3/3] scsi: sd: fix sd_do_mode_sense() buffer length handling https://git.kernel.org/mkp/scsi/c/c749301ebee8 -- Martin K. Petersen Oracle Linux Engineering