[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <43MLSZ72qCz9sMQ@ozlabs.org>
Date: Sat, 22 Dec 2018 20:54:38 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Andrew Morton <akpm@...ux-foundation.org>,
Colin Ian King <colin.king@...onical.com>,
Kees Cook <keescook@...omium.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: lib: fix build failure in CONFIG_DEBUG_VIRTUAL test
On Mon, 2018-12-10 at 08:08:28 UTC, Christophe Leroy wrote:
> On several arches, virt_to_phys() is in io.h
>
> Build fails without it:
>
> CC lib/test_debug_virtual.o
> lib/test_debug_virtual.c: In function 'test_debug_virtual_init':
> lib/test_debug_virtual.c:26:7: error: implicit declaration of function 'virt_to_phys' [-Werror=implicit-function-declaration]
> pa = virt_to_phys(va);
> ^
>
> Fixes: e4dace361552 ("lib: add test module for CONFIG_DEBUG_VIRTUAL")
> CC: stable@...r.kernel.org
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> Reviewed-by: Kees Cook <keescook@...omium.org>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/10fdf838e5f540beca466e9d132599
cheers
Powered by blists - more mailing lists