]> git.baikalelectronics.ru Git - kernel.git/commit
libata: fix translation of concurrent positioning ranges
authorTyler Erickson <tyler.erickson@seagate.com>
Thu, 2 Jun 2022 22:51:12 +0000 (16:51 -0600)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 8 Jun 2022 03:19:13 +0000 (12:19 +0900)
commitd92abf7a31e906f742efca0666b8e9a55985ed76
treea3a0fc561c76c9ca6fd2b99fa0485c79fd280144
parentd514c64a3072e220e0e5fceb5db7457802a38e12
libata: fix translation of concurrent positioning ranges

Fixing the page length in the SCSI translation for the concurrent
positioning ranges VPD page. It was writing starting in offset 3
rather than offset 2 where the MSB is supposed to start for
the VPD page length.

Cc: stable@vger.kernel.org
Fixes: 7d60b9441b72 ("libata: support concurrent positioning ranges log")
Signed-off-by: Tyler Erickson <tyler.erickson@seagate.com>
Reviewed-by: Muhammad Ahmad <muhammad.ahmad@seagate.com>
Tested-by: Michael English <michael.english@seagate.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/libata-scsi.c