lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20241209213012.79c59371f25c08bcedfbc0c9@linux-foundation.org>
Date: Mon, 9 Dec 2024 21:30:12 -0800
From: Andrew Morton <akpm@...ux-foundation.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Suren Baghdasaryan <surenb@...gle.com>, Linux Kernel Mailing List
 <linux-kernel@...r.kernel.org>, Linux Next Mailing List
 <linux-next@...r.kernel.org>, SeongJae Park <sj@...nel.org>
Subject: Re: linux-next: build failure after merge of the mm tree

On Tue, 10 Dec 2024 16:00:11 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:

> On Mon, 9 Dec 2024 18:25:57 -0800 Andrew Morton <akpm@...ux-foundation.org> wrote:
> >
> > How about this?
> 
> Unfortunately:
> 
> In file included from mm/damon/vaddr.c:736:
> mm/damon/tests/vaddr-kunit.h: In function 'damon_test_three_regions_in_vmas':
> mm/damon/tests/vaddr-kunit.h:81:36: error: passing argument 2 of '__link_vmas' discards 'const' qualifier from pointer target type [-Werror=discarded-qualifiers]
>    81 |         if (__link_vmas(&mm.mm_mt, vmas, ARRAY_SIZE(vmas)))
>       |                                    ^~~~
> mm/damon/tests/vaddr-kunit.h:17:70: note: expected 'struct vm_area_struct *' but argument is of type 'const struct vm_area_struct *'
>    17 | static int __link_vmas(struct maple_tree *mt, struct vm_area_struct *vmas,
>       |                                               ~~~~~~~~~~~~~~~~~~~~~~~^~~~

Bah.  OK, I'll drop the const.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ