diff options
author | Christoph Hellwig <hch@lst.de> | 2021-07-09 15:02:37 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-07-09 08:28:20 -0600 |
commit | ecef6a9effe49e8e2635c839020b9833b71e934c (patch) | |
tree | f02339010c9edf059f25aee1ce55b5285fe53407 /arch | |
parent | f55966571d5eb2876a11e48e798b4592fa1ffbb7 (diff) | |
download | linux-ecef6a9effe49e8e2635c839020b9833b71e934c.tar.gz linux-ecef6a9effe49e8e2635c839020b9833b71e934c.tar.bz2 linux-ecef6a9effe49e8e2635c839020b9833b71e934c.zip |
libata: fix ata_pio_sector for CONFIG_HIGHMEM
Data transfers are not required to be block aligned in memory, so they
span two pages. Fix this by splitting the call to >sff_data_xfer into
two for that case.
This has been broken since the initial libata import before the damn
of git, but was uncovered by the legacy ide driver removal.
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210709130237.3730959-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions