docs: futex: Fix kernel-doc references after code split-up preparation
Subsystems (3)
PATCH 1/1 docs: futex: Fix kernel-doc references after code split-up preparation
In upstream commit 77e52ae35463 ("futex: Move to kernel/futex/") the futex code from kernel/futex.c was moved into kernel/futex/core in preparation of the split-up of the implementation in various files.
Point kernel-doc references to the new files as otherwise the documentation shows errors on build:
[...]
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 3.4.3 -internal ./kernel/futex.c' failed with return code 2
There is no direct upstream commit for this change. It is made in analogy to commit bc67f1c454fb ("docs: futex: Fix kernel-doc references") applied as consequence of the restructuring of the futex code.
--- 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
@@ -1358,7 +1358,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
@@ -1400,7 +1400,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
Signature · 1 line
2.40.0
Hi,
Quoted 53 lines · Salvatore Bonaccorso
In upstream commit
77e52ae35463("futex: Move tokernel/futex/") the futex code fromkernel/futex.cwas moved intokernel/futex/corein preparation of the split-up of the implementation in various files.Point kernel-doc references to the new files as otherwise the documentation shows errors on build:
[...]
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 3.4.3 -internal./kernel/futex.c' failed with return code 2There is no direct upstream commit for this change. It is made in analogy to commit
bc67f1c454fb("docs: futex: Fix kernel-doc references") applied as consequence of the restructuring of the futex code.Fixes 77e52ae35463 ("futex: Move to kernel/futex/")Signed-off-by Salvatore Bonaccorso <[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@@ -1358,7 +1358,7 @@ Mutex API reference Futex API reference =================== -.. kernel-doc:: kernel/futex.c +.. kernel-doc:: kernel/futex/core.c :internal: Further readingDocumentation/translations/it_IT/kernel-hacking/locking.rst +1
-1@@ -1400,7 +1400,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: ApprofondimentiSignature · 1 line
2.40.0
I had this information in my original subject passed to git send-email, but got lost: As 77e52ae35463 ("futex: Move to kernel/futex/") was backported to the stable-5.10.y series in 5.10.163, and to stable-5.15.y in 5.15.86, this is only needed for those two stable series.
Regards,
Salvatore
Randy Dunlap
reviewerPlease see https://lore.kernel.org/all/[email protected]/
Don't know what has happened to it though. :(
Quoted 51 lines · Salvatore Bonaccorso
In upstream commit
77e52ae35463("futex: Move tokernel/futex/") the futex code fromkernel/futex.cwas moved intokernel/futex/corein preparation of the split-up of the implementation in various files.Point kernel-doc references to the new files as otherwise the documentation shows errors on build:
[...]
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 3.4.3 -internal./kernel/futex.c' failed with return code 2There is no direct upstream commit for this change. It is made in analogy to commit
bc67f1c454fb("docs: futex: Fix kernel-doc references") applied as consequence of the restructuring of the futex code.Fixes 77e52ae35463 ("futex: Move to kernel/futex/")Signed-off-by Salvatore Bonaccorso <[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@@ -1358,7 +1358,7 @@ Mutex API reference Futex API reference =================== -.. kernel-doc:: kernel/futex.c +.. kernel-doc:: kernel/futex/core.c :internal: Further readingDocumentation/translations/it_IT/kernel-hacking/locking.rst +1
-1@@ -1400,7 +1400,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
Signature · 1 line
~Randy