diff options
| author | Mark Brown <[email protected]> | 2024-10-07 13:01:00 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2024-10-07 13:01:00 +0000 |
| commit | 85eadae61931f6268b49b5722039e5a248b9ee4c (patch) | |
| tree | 3ee81f25a394ce2a2ec706f0aff07515b78d4b01 /lib/iov_iter.c | |
| parent | Add of_regulator_get_optional() and Fix MTK Power (diff) | |
| parent | Linux 6.12-rc2 (diff) | |
| download | kernel-85eadae61931f6268b49b5722039e5a248b9ee4c.tar.gz kernel-85eadae61931f6268b49b5722039e5a248b9ee4c.zip | |
regulator: Merge up v6.12-rc2
Pulls in a build fix for the KVM selftests.
Diffstat (limited to 'lib/iov_iter.c')
| -rw-r--r-- | lib/iov_iter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/iov_iter.c b/lib/iov_iter.c index 97003155bfac..1abb32c0da50 100644 --- a/lib/iov_iter.c +++ b/lib/iov_iter.c @@ -1033,7 +1033,7 @@ static ssize_t iter_folioq_get_pages(struct iov_iter *iter, if (maxpages == 0 || extracted >= maxsize) break; - if (offset >= fsize) { + if (iov_offset >= fsize) { iov_offset = 0; slot++; if (slot == folioq_nr_slots(folioq) && folioq->next) { |
