Re: + mm-vmalloc-convert-vread-to-vread_iter-fix.patch added to mm-unstable branch

From: Lorenzo Stoakes
Date: Tue Mar 21 2023 - 18:23:18 EST


On Tue, Mar 21, 2023 at 02:36:32PM -0700, Andrew Morton wrote:
>
> The patch titled
> Subject: mm-vmalloc-convert-vread-to-vread_iter-fix
> has been added to the -mm mm-unstable branch. Its filename is
> mm-vmalloc-convert-vread-to-vread_iter-fix.patch
>
> This patch will shortly appear at
> https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/mm-vmalloc-convert-vread-to-vread_iter-fix.patch
>
> This patch will later appear in the mm-unstable branch at
> git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
>
> Before you just go and hit "reply", please:
> a) Consider who else should be cc'ed
> b) Prefer to cc a suitable mailing list as well
> c) Ideally: find the original patch on the mailing list and do a
> reply-to-all to that, adding suitable additional cc's
>
> *** Remember to use Documentation/process/submit-checklist.rst when testing your code ***
>
> The -mm tree is included into linux-next via the mm-everything
> branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
> and is updated there every 2-3 working days
>
> ------------------------------------------------------
> From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Subject: mm-vmalloc-convert-vread-to-vread_iter-fix
> Date: Tue Mar 21 02:34:51 PM PDT 2023
>
> fix nommu build
>
> Cc: Lorenzo Stoakes <lstoakes@xxxxxxxxx>
> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> ---
>
>
> --- a/mm/nommu.c~mm-vmalloc-convert-vread-to-vread_iter-fix
> +++ a/mm/nommu.c
> @@ -199,7 +199,7 @@ unsigned long vmalloc_to_pfn(const void
> }
> EXPORT_SYMBOL(vmalloc_to_pfn);
>
> -long vread_iter(struct iov_iter *iter, char *addr, size_t count)
> +long vread_iter(struct iov_iter *iter, const char *addr, size_t count)

Apologies, missed that. Will make sure it's included in any future respin.

> {
> /* Don't allow overflow */
> if ((unsigned long) addr + count < count)
> _
>
> Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are
>
> mm-page_alloc-reduce-page-alloc-free-sanity-checks-checkpatch-fixes.patch
> mm-page_alloc-reduce-page-alloc-free-sanity-checks-fix.patch
> mm-userfaultfd-support-wp-on-multiple-vmas-fix.patch
> mm-add-new-api-to-enable-ksm-per-process-fix.patch
> mm-treewide-redefine-max_order-sanely-fix-2.patch
> mm-treewide-redefine-max_order-sanely-fix-3-fix.patch
> memcg-do-not-drain-charge-pcp-caches-on-remote-isolated-cpus-fix.patch
> vmstat-add-pcp-remote-node-draining-via-cpu_vm_stats_fold-fix.patch
> mm-vmalloc-convert-vread-to-vread_iter-fix.patch
> scripts-link-vmlinuxsh-fix-error-message-presentation.patch
> notifiers-add-tracepoints-to-the-notifiers-infrastructure-checkpatch-fixes.patch
>