* [git pull] build fix
@ 2022-06-11 20:35 Al Viro
2022-06-11 20:54 ` Linus Torvalds
0 siblings, 1 reply; 2+ messages in thread
From: Al Viro @ 2022-06-11 20:35 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-fsdevel, linux-kernel
The following changes since commit 6c77676645ad42993e0a8bdb8dafa517851a352a:
iov_iter: Fix iter_xarray_get_pages{,_alloc}() (2022-06-10 15:56:32 -0400)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git tags/pull-fixes
for you to fetch changes up to 5632561eee9faa6d8d9f69bf69d083f1847d1abd:
fix warnings on 32bit caused by ITER_XARRAY fix (2022-06-11 12:43:21 -0400)
----------------------------------------------------------------
minimal fix for build breakage on 32bit
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----------------------------------------------------------------
There's a bunch of obvious cleanups and improvements in that area; this is
just the braino fix for previous commit. I wanted to include at least
replacement of weird open-coded count = DIV_ROUND_UP(size + offset, PAGE_SIZE);
in those two functions (it might have started as defense against theoretical
overflows, but if so it's incomplete, the overflows are in practice impossible
*and* this prevention would be in the wrong place anyway), but... let's
keep that separate.
FWIW, in my local tree duplication between iov_iter_get_pages() and
iov_iter_get_pages_alloc() is gone, with a lot of stuff getting considerably
simpler, but I'm still cleaning/reordering/carving that series up. Will post
tomorrow or on Monday, but those are clearly not 5.19 fodder.
Al Viro (1):
fix warnings on 32bit caused by ITER_XARRAY fix
lib/iov_iter.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [git pull] build fix
2022-06-11 20:35 [git pull] build fix Al Viro
@ 2022-06-11 20:54 ` Linus Torvalds
0 siblings, 0 replies; 2+ messages in thread
From: Linus Torvalds @ 2022-06-11 20:54 UTC (permalink / raw)
To: Al Viro; +Cc: linux-fsdevel, Linux Kernel Mailing List
On Sat, Jun 11, 2022 at 1:35 PM Al Viro <viro@zeniv.linux.org.uk> wrote:
>
> fix warnings on 32bit caused by ITER_XARRAY fix (2022-06-11 12:43:21 -0400)
I already fixed this in my tree (identically to your fix) earlier
today, since I was cc'd on the same report from Sudhip..
Commit 1c27f1fc1549 ("iov_iter: fix build issue due to possible type mis-match")
Linus
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-11 20:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11 20:35 [git pull] build fix Al Viro
2022-06-11 20:54 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®