[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240701182830.0fd1950c@canb.auug.org.au>
Date: Mon, 1 Jul 2024 18:28:30 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Andrii Nakryiko <andrii@...nel.org>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>, Linux Next Mailing List
<linux-next@...r.kernel.org>
Subject: Re: linux-next: build warnings after merge of the mm tree
Hi all,
On Mon, 1 Jul 2024 11:01:13 +1000 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> After merging the mm tree, today's linux-next build (arm
> multi_v7_defconfig) produced these warnings:
>
> fs/proc/task_mmu.c: In function 'do_procmap_query':
> fs/proc/task_mmu.c:598:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 598 | if (karg.vma_name_size && copy_to_user((void __user *)karg.vma_name_addr,
> | ^
> fs/proc/task_mmu.c:605:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> 605 | if (karg.build_id_size && copy_to_user((void __user *)karg.build_id_addr,
> | ^
>
> Introduced by commits
>
> 3757be498749 ("fs/procfs: implement efficient VMA querying API for /proc/<pid>/maps")
> df789ce1eb90 ("fs/procfs: add build ID fetching to PROCMAP_QUERY API")
This became a build failure in my i386 defconfig build, so I applied
Andrii's patch.
--
Cheers,
Stephen Rothwell
Content of type "application/pgp-signature" skipped
Powered by blists - more mailing lists