Re: [RESEND PATCH 3/4] futex: Remove unused or redundant includes

From: Thomas Gleixner
Date: Fri Jul 17 2020 - 20:02:38 EST


Andrà Almeida <andrealmeid@xxxxxxxxxxxxx> writes:
> I just retested compiling tip/locking/core, and it seems something
> changed the last time I wrote the patch. Removing <linux/compat.h> will
> indeed break the compilation now, the patch bellow should fix it. Sorry
> for the noise.

I just folded it back manually and force pushed the result. Manually
because the below:

> =======================================
>
> diff --git a/kernel/futex.c b/kernel/futex.c
> index f483bc52dbac..4616d4ad609d 100644
>
> --- a/kernel/futex.c
>
> +++ b/kernel/futex.c
>
> @@ -31,6 +31,7 @@
>
> 31 * "The futexes are also cursed."
> 32 * "But they come in a choice of three flavours!"
> 33 */
> +34#include <linux/compat.h>
> 35#include <linux/jhash.h>
> 36#include <linux/pagemap.h>
> 37#include <linux/syscalls.h>

does not really qualify as a valid patch.