[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANaxB-xUyhtGq500ToxXLMJhD_-UC9rKFX0_3CezxNyhSJ=ouw@mail.gmail.com>
Date: Mon, 2 Jun 2025 14:51:41 -0700
From: Andrei Vagin <avagin@...il.com>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Anna-Maria Behnsen <anna-maria@...utronix.de>, Frederic Weisbecker <frederic@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>, Dmitry Safonov <dima@...sta.com>
Subject: Re: [PATCH] time_namespace.h: Add struct seq_file forward declaration
On Fri, May 30, 2025 at 1:30 AM Herbert Xu <herbert@...dor.apana.org.au> wrote:
>
> Add forward declaration of struct seq_file before using it in
> function prototype.
>
> Fixes: 04a8682a71be ("fs/proc: Introduce /proc/pid/timens_offsets")
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Acked-by: Andrei Vagin <avagin@...il.com>
>
> diff --git a/include/linux/time_namespace.h b/include/linux/time_namespace.h
> index 0b8b32bf0655..bb2c52f4fc94 100644
> --- a/include/linux/time_namespace.h
> +++ b/include/linux/time_namespace.h
> @@ -12,6 +12,7 @@
> struct user_namespace;
> extern struct user_namespace init_user_ns;
>
> +struct seq_file;
> struct vm_area_struct;
>
> struct timens_offsets {
> --
> Email: Herbert Xu <herbert@...dor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
>
Powered by blists - more mailing lists