mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] time_namespace.h: Add struct seq_file forward declaration
@ 2025-05-30  8:30 Herbert Xu
  2025-06-02 21:51 ` Andrei Vagin
  2025-06-04  9:34 ` [tip: timers/urgent] timens: " tip-bot2 for Herbert Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Herbert Xu @ 2025-05-30  8:30 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Anna-Maria Behnsen,
	Frederic Weisbecker, Thomas Gleixner
  Cc: Andrei Vagin, Dmitry Safonov

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@gondor.apana.org.au>

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@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] time_namespace.h: Add struct seq_file forward declaration
  2025-05-30  8:30 [PATCH] time_namespace.h: Add struct seq_file forward declaration Herbert Xu
@ 2025-06-02 21:51 ` Andrei Vagin
  2025-06-04  9:34 ` [tip: timers/urgent] timens: " tip-bot2 for Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: Andrei Vagin @ 2025-06-02 21:51 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linux Kernel Mailing List, Anna-Maria Behnsen,
	Frederic Weisbecker, Thomas Gleixner, Dmitry Safonov

On Fri, May 30, 2025 at 1:30 AM Herbert Xu <herbert@gondor.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@gondor.apana.org.au>

Acked-by: Andrei Vagin <avagin@gmail.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@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip: timers/urgent] timens: Add struct seq_file forward declaration
  2025-05-30  8:30 [PATCH] time_namespace.h: Add struct seq_file forward declaration Herbert Xu
  2025-06-02 21:51 ` Andrei Vagin
@ 2025-06-04  9:34 ` tip-bot2 for Herbert Xu
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for Herbert Xu @ 2025-06-04  9:34 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Herbert Xu, Thomas Gleixner, Andrei Vagin, x86, linux-kernel

The following commit has been merged into the timers/urgent branch of tip:

Commit-ID:     434d7f9b0e24e1f0166d05f10881a8ab386845b7
Gitweb:        https://git.kernel.org/tip/434d7f9b0e24e1f0166d05f10881a8ab386845b7
Author:        Herbert Xu <herbert@gondor.apana.org.au>
AuthorDate:    Fri, 30 May 2025 16:30:11 +08:00
Committer:     Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Wed, 04 Jun 2025 11:27:11 +02:00

timens: Add struct seq_file forward declaration

Add forward declaration of struct seq_file before using it in a
function prototype.

Fixes: 04a8682a71be ("fs/proc: Introduce /proc/pid/timens_offsets")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andrei Vagin <avagin@gmail.com>
Link: https://lore.kernel.org/all/aDlskzKIAULMlwPj@gondor.apana.org.au


---
 include/linux/time_namespace.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/time_namespace.h b/include/linux/time_namespace.h
index 0b8b32b..bb2c52f 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 {

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-06-04  9:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-30  8:30 [PATCH] time_namespace.h: Add struct seq_file forward declaration Herbert Xu
2025-06-02 21:51 ` Andrei Vagin
2025-06-04  9:34 ` [tip: timers/urgent] timens: " tip-bot2 for Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®