mbox series

[0/2] CDL related fixes

Message ID 20240923133949.286295-1-dlemoal@kernel.org
Headers show
Series CDL related fixes | expand

Message

Damien Le Moal Sept. 23, 2024, 1:39 p.m. UTC
A couple of fixes for CDL support. The first patch addresses a potential
NULL pointer dereference in ata_msense_control_spgt2() with drives not
supporting CDL. The second patch fixes ata_msense_control() to report
the correct T2A and T2B sub pages when CDL is supported.

Damien Le Moal (2):
  ata: libata-scsi: Fix ata_msense_control_spgt2()
  ata: libata-scsi: Fix ata_msense_control() CDL page reporting

 drivers/ata/libata-scsi.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Comments

Niklas Cassel Sept. 24, 2024, 8:03 a.m. UTC | #1
On Mon, Sep 23, 2024 at 10:39:47PM +0900, Damien Le Moal wrote:
> A couple of fixes for CDL support. The first patch addresses a potential
> NULL pointer dereference in ata_msense_control_spgt2() with drives not
> supporting CDL. The second patch fixes ata_msense_control() to report
> the correct T2A and T2B sub pages when CDL is supported.
> 
> Damien Le Moal (2):
>   ata: libata-scsi: Fix ata_msense_control_spgt2()
>   ata: libata-scsi: Fix ata_msense_control() CDL page reporting
> 
>  drivers/ata/libata-scsi.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
> 
> -- 
> 2.46.0
> 

For the series:
Reviewed-by: Niklas Cassel <cassel@kernel.org>