Re: linux-next: build warnings after merge of the mm tree
From: Stephen Rothwell
Date: Mon Jul 01 2024 - 04:28:43 EST
Hi all,
On Mon, 1 Jul 2024 11:01:13 +1000 Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> 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
Attachment:
pgp_5Vwm2Jx2j.pgp
Description: OpenPGP digital signature