Re: [PATCH ARM64] selftests, arm64: add kernel headers path for tags_test

From: Will Deacon
Date: Fri Sep 06 2019 - 09:51:59 EST


On Wed, Sep 04, 2019 at 06:41:00PM +0200, Andrey Konovalov wrote:
> tags_test.c relies on PR_SET_TAGGED_ADDR_CTRL/PR_TAGGED_ADDR_ENABLE being
> present in system headers. When this is not the case the build of this
> test fails with undeclared identifier errors.
>
> Fix by providing the path to the KSFT installed kernel headers in CFLAGS.
>
> Reported-by: Cristian Marussi <cristian.marussi@xxxxxxx>
> Suggested-by: Cristian Marussi <cristian.marussi@xxxxxxx>
> Signed-off-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx>
> ---
> tools/testing/selftests/arm64/Makefile | 1 +
> 1 file changed, 1 insertion(+)

Damn, I just tagged the arm64 queue for 5.4 and didn't spot this patch.

I'll queue it at -rc1 instead, if that's ok? It doesn't look urgent.

Thanks,

Will