Re: [PATCH] gcc-plugins: Remove duplicate included header file stringpool.h

From: Kees Cook
Date: Tue Jul 02 2024 - 17:18:01 EST


On Sun, 30 Jun 2024 01:36:09 +0200, Thorsten Blum wrote:
> The header file stringpool.h is included for GCC version >= 8 and then
> again for all versions.
>
> Since the header file stringpool.h was added in GCC 4.9 and the kernel
> currently requires GCC 5.1 as a minimum, remove the conditional include.
>
> Including the header file only once removes the following warning
> reported by make includecheck:
>
> [...]

Applied to for-next/hardening, thanks!

[1/1] gcc-plugins: Remove duplicate included header file stringpool.h
https://git.kernel.org/kees/c/3a8ccb6a6829

Take care,

--
Kees Cook