[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdVYRNnMn38wWcLDC_nFYr1HnRSFJ6DXwD4af=Cmx2J7dA@mail.gmail.com>
Date: Mon, 7 Feb 2022 14:51:17 +0100
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: NeilBrown <neilb@...e.de>
Cc: Trond Myklebust <trond.myklebust@...merspace.com>,
Anna Schumaker <anna.schumaker@...app.com>,
Chuck Lever <chuck.lever@...cle.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Mel Gorman <mgorman@...e.de>,
Christoph Hellwig <hch@...radead.org>,
David Howells <dhowells@...hat.com>,
"open list:NFS, SUNRPC, AND..." <linux-nfs@...r.kernel.org>,
Linux MM <linux-mm@...ck.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 01/23] MM: create new mm/swap.h header file.
Hi Neil,
On Mon, Jan 24, 2022 at 5:26 PM NeilBrown <neilb@...e.de> wrote:
> Many functions declared in include/linux/swap.h are only used within mm/
>
> Create a new "mm/swap.h" and move some of these declarations there.
> Remove the redundant 'extern' from the function declarations.
>
> Reviewed-by: Christoph Hellwig <hch@....de>
> Signed-off-by: NeilBrown <neilb@...e.de>
Thanks for your patch!
mm/huge_memory.c: In function ‘__split_huge_page’:
mm/huge_memory.c:2423:16: error: implicit declaration of function
‘swap_address_space’; did you mean ‘exit_swap_address_space’?
[-Werror=implicit-function-declaration]
2423 | swap_cache = swap_address_space(entry);
| ^~~~~~~~~~~~~~~~~~
| exit_swap_address_space
mm/huge_memory.c needs to #include "swap.h", too.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists