linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] docs: futex: Fix kernel-doc references
@ 2021-10-12 13:55 André Almeida
  2021-10-19 13:20 ` Peter Zijlstra
  2021-10-19 15:35 ` [tip: locking/core] " tip-bot2 for André Almeida
  0 siblings, 2 replies; 3+ messages in thread
From: André Almeida @ 2021-10-12 13:55 UTC (permalink / raw)
  To: Stephen Rothwell, Thomas Gleixner, Peter Zijlstra
  Cc: linux-kernel, linux-next, Ingo Molnar, H . Peter Anvin,
	Jonathan Corbet, André Almeida

Since the futex code was restructured, there's no futex.c file anymore
and the implementation is split in various files. Point kernel-doc
references to the new files.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
---
 Documentation/kernel-hacking/locking.rst           | 14 +++++++++++++-
 .../translations/it_IT/kernel-hacking/locking.rst  | 14 +++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
index 90bc3f51eda9..e6cd40663ea5 100644
--- a/Documentation/kernel-hacking/locking.rst
+++ b/Documentation/kernel-hacking/locking.rst
@@ -1352,7 +1352,19 @@ Mutex API reference
 Futex API reference
 ===================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/futex.h
+   :internal:
+
+.. kernel-doc:: kernel/futex/pi.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/requeue.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/waitwake.c
    :internal:
 
 Further reading
diff --git a/Documentation/translations/it_IT/kernel-hacking/locking.rst b/Documentation/translations/it_IT/kernel-hacking/locking.rst
index 1efb8293bf1f..163f1bd4e857 100644
--- a/Documentation/translations/it_IT/kernel-hacking/locking.rst
+++ b/Documentation/translations/it_IT/kernel-hacking/locking.rst
@@ -1396,7 +1396,19 @@ Riferimento per l'API dei Mutex
 Riferimento per l'API dei Futex
 ===============================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/futex.h
+   :internal:
+
+.. kernel-doc:: kernel/futex/pi.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/requeue.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/waitwake.c
    :internal:
 
 Approfondimenti
-- 
2.33.0


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

* Re: [PATCH] docs: futex: Fix kernel-doc references
  2021-10-12 13:55 [PATCH] docs: futex: Fix kernel-doc references André Almeida
@ 2021-10-19 13:20 ` Peter Zijlstra
  2021-10-19 15:35 ` [tip: locking/core] " tip-bot2 for André Almeida
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Zijlstra @ 2021-10-19 13:20 UTC (permalink / raw)
  To: André Almeida
  Cc: Stephen Rothwell, Thomas Gleixner, linux-kernel, linux-next,
	Ingo Molnar, H . Peter Anvin, Jonathan Corbet

On Tue, Oct 12, 2021 at 10:55:49AM -0300, André Almeida wrote:
> Since the futex code was restructured, there's no futex.c file anymore
> and the implementation is split in various files. Point kernel-doc
> references to the new files.
> 
> Signed-off-by: André Almeida <andrealmeid@collabora.com>

Thanks!

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

* [tip: locking/core] docs: futex: Fix kernel-doc references
  2021-10-12 13:55 [PATCH] docs: futex: Fix kernel-doc references André Almeida
  2021-10-19 13:20 ` Peter Zijlstra
@ 2021-10-19 15:35 ` tip-bot2 for André Almeida
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot2 for André Almeida @ 2021-10-19 15:35 UTC (permalink / raw)
  To: linux-tip-commits; +Cc: andrealmeid, Peter Zijlstra (Intel), x86, linux-kernel

The following commit has been merged into the locking/core branch of tip:

Commit-ID:     bc67f1c454fbc79b148f0b47227929da82f4b026
Gitweb:        https://git.kernel.org/tip/bc67f1c454fbc79b148f0b47227929da82f4b026
Author:        André Almeida <andrealmeid@collabora.com>
AuthorDate:    Tue, 12 Oct 2021 10:55:49 -03:00
Committer:     Peter Zijlstra <peterz@infradead.org>
CommitterDate: Tue, 19 Oct 2021 17:27:05 +02:00

docs: futex: Fix kernel-doc references

Since the futex code was restructured, there's no futex.c file anymore
and the implementation is split in various files. Point kernel-doc
references to the new files.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20211012135549.14451-1-andrealmeid@collabora.com
---
 Documentation/kernel-hacking/locking.rst                    | 14 ++++++-
 Documentation/translations/it_IT/kernel-hacking/locking.rst | 14 ++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
index 90bc3f5..e6cd406 100644
--- a/Documentation/kernel-hacking/locking.rst
+++ b/Documentation/kernel-hacking/locking.rst
@@ -1352,7 +1352,19 @@ Mutex API reference
 Futex API reference
 ===================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/futex.h
+   :internal:
+
+.. kernel-doc:: kernel/futex/pi.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/requeue.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/waitwake.c
    :internal:
 
 Further reading
diff --git a/Documentation/translations/it_IT/kernel-hacking/locking.rst b/Documentation/translations/it_IT/kernel-hacking/locking.rst
index 1efb829..163f1bd 100644
--- a/Documentation/translations/it_IT/kernel-hacking/locking.rst
+++ b/Documentation/translations/it_IT/kernel-hacking/locking.rst
@@ -1396,7 +1396,19 @@ Riferimento per l'API dei Mutex
 Riferimento per l'API dei Futex
 ===============================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/futex.h
+   :internal:
+
+.. kernel-doc:: kernel/futex/pi.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/requeue.c
+   :internal:
+
+.. kernel-doc:: kernel/futex/waitwake.c
    :internal:
 
 Approfondimenti

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

end of thread, other threads:[~2021-10-19 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 13:55 [PATCH] docs: futex: Fix kernel-doc references André Almeida
2021-10-19 13:20 ` Peter Zijlstra
2021-10-19 15:35 ` [tip: locking/core] " tip-bot2 for André Almeida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).