Skip to contentSkip to conversation

Documentation: futex: handle source file rename

PATCH In review Randy Dunlap 2 participants 2 messages Oct 19, 2021

Subsystems (2)
lore
Share & tools
lore

Randy Dunlap

author reviewer
#0 lore raw

PATCH 1/1 Documentation: futex: handle source file rename

Handle the move/rename of kernel/futex.c to kernel/futex/core.c.

Prevents docs build errors and warnings:

Error: Cannot open file ../kernel/futex.c
Error: Cannot open file ../kernel/futex.c
Error: Cannot open file ../kernel/futex.c
Error: Cannot open file ../kernel/futex.c
WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -internal ../kernel/futex.c' failed with return code 2
WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -internal ../kernel/futex.c' failed with return code 2

Fixes 77e52ae35463 ("futex: Move to kernel/futex/")
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Darren Hart <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc André Almeida <[email protected]>
Cc Jonathan Corbet <[email protected]>
---
 Documentation/kernel-hacking/locking.rst                    |    2 +-
 Documentation/translations/it_IT/kernel-hacking/locking.rst |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/locking.rst +1 -1
@@ -1352,7 +1352,7 @@ Mutex API reference
 Futex API reference
 ===================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
    :internal:
 
 Further reading
Documentation/translations/it_IT/kernel-hacking/locking.rst +1 -1
@@ -1396,7 +1396,7 @@ Riferimento per l'API dei Mutex
 Riferimento per l'API dei Futex
 ===============================
 
-.. kernel-doc:: kernel/futex.c
+.. kernel-doc:: kernel/futex/core.c
    :internal:
 
 Approfondimenti
#1 lore raw

Hi Randy,

Às 23:22 de 18/10/21, Randy Dunlap escreveu:

Quoted 11 lines

Handle the move/rename of kernel/futex.c to kernel/futex/core.c.

Prevents docs build errors and warnings:

Error: Cannot open file ../kernel/futex.c
Error: Cannot open file ../kernel/futex.c
Error: Cannot open file ../kernel/futex.c
Error: Cannot open file ../kernel/futex.c
WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -internal ../kernel/futex.c' failed with return code 2
WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno -sphinx-version 1.8.5 -internal ../kernel/futex.c' failed with return code 2

Quoted 10 lines
Fixes 77e52ae35463 ("futex: Move to kernel/futex/")
Cc Thomas Gleixner <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Darren Hart <[email protected]>
Cc Davidlohr Bueso <[email protected]>
Cc André Almeida <[email protected]>
Cc Jonathan Corbet <[email protected]>

Thanks for your patch. I had already sent a fix:
https://lore.kernel.org/lkml/[email protected]/

Peter, can you get my fix at tip/locking/core?