[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z1EE7gIlaSI3V4SY@bender.morinfr.org>
Date: Thu, 5 Dec 2024 02:42:06 +0100
From: Guillaume Morin <guillaume@...infr.org>
To: David Hildenbrand <david@...hat.com>
Cc: Guillaume Morin <guillaume@...infr.org>, linux-kernel@...r.kernel.org,
oe-kbuild-all@...ts.linux.dev, linux-mm@...ck.org,
Muchun Song <muchun.song@...ux.dev>,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Xu <peterx@...hat.com>, David Hildenbrand <david@...hat.com>,
Eric Hagberg <ehagberg@...estreet.com>
Subject: Re: [PATCH v1] hugetlb: support FOLL_FORCE|FOLL_WRITE
On 05 Dec 8:39, kernel test robot wrote:
> All errors (new ones prefixed by >>):
>
> mm/gup.c: In function 'can_follow_write_pud':
> >> mm/gup.c:665:48: error: implicit declaration of function 'pud_soft_dirty'; did you mean 'pmd_soft_dirty'? [-Werror=implicit-function-declaration]
> 665 | return !vma_soft_dirty_enabled(vma) || pud_soft_dirty(pud);
> | ^~~~~~~~~~~~~~
> | pmd_soft_dirty
> cc1: some warnings being treated as errors
David, how do you recommend I deal with this?
There is no prototype for pud_soft_dirty() in include/linux/pgtable.h
if CONFIG_HAVE_ARCH_SOFT_DIRTY is not set. Should I just add one?
--
Guillaume Morin <guillaume@...infr.org>
Powered by blists - more mailing lists