diff options
author | Damien Le Moal <dlemoal@kernel.org> | 2024-09-23 18:14:36 +0900 |
---|---|---|
committer | Damien Le Moal <dlemoal@kernel.org> | 2024-09-24 16:56:51 +0900 |
commit | 0e9a2990a93f27daa643b6fa73cfa47b128947a7 (patch) | |
tree | 8a3b223902c1a59e1646b3decfbd383529b16b39 /mm/huge_memory.c | |
parent | 03a9cfc1314bf75cc7a83995f3a029a7ebf49c05 (diff) |
ata: libata-scsi: Fix ata_msense_control() CDL page reporting
When the user requests the ALL_SUB_MPAGES mode sense page,
ata_msense_control() adds the CDL_T2A_SUB_MPAGE twice instead of adding
the CDL_T2A_SUB_MPAGE and CDL_T2B_SUB_MPAGE pages information. Correct
the second call to ata_msense_control_spgt2() to report the
CDL_T2B_SUB_MPAGE page.
Fixes: 673b2fe6ff1d ("scsi: ata: libata-scsi: Add support for CDL pages mode sense")
Cc: stable@vger.kernel.org
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Diffstat (limited to 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions