Address some bad references to Kernel docs
Subsystems (8)
cover Address some bad references to Kernel docs
Hi Jon,
It follows 4 patches addressing some issues during the 5.16 Kernel development cycle that were sent to the MLs but weren't merged yet.
They apply cleanly on the top of 5.16-rc1.
Regards,
Mauro Carvalho Chehab (4):
libbpf: update index.rst reference
docs: accounting: update delay-accounting.rst reference
Documentation: update vcpu-requests.rst reference Documentation/process: fix a cross reference
Documentation/admin-guide/sysctl/kernel.rst | 2 +- Documentation/bpf/index.rst | 2 +- Documentation/process/submitting-patches.rst | 4 ++-- arch/riscv/kvm/vcpu.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-)
Signature · 1 line
2.33.1
PATCH 3/4 Documentation: update vcpu-requests.rst reference
Changeset 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt")
renamed: Documentation/virtual/kvm/vcpu-requests.rst
to: Documentation/virt/kvm/vcpu-requests.rst.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/cover.1637064577.git.mchehab+huawei at kernel.org/
arch/riscv/kvm/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kvm/vcpu.c +1 -1
@@ -740,7 +740,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu)* Ensure we set mode to IN_GUEST_MODE after we disable * interrupts and before the final VCPU requests check. * See the comment in kvm_vcpu_exiting_guest_mode() and -* Documentation/virtual/kvm/vcpu-requests.rst +* Documentation/virt/kvm/vcpu-requests.rst */ vcpu->mode =IN_GUEST_MODE ;
Signature · 1 line
2.33.1
PATCH 4/4 Documentation/process: fix a cross reference
In reply to Mauro Carvalho ChehabThe cross-reference for the handbooks section works. However, it is meant to describe the path inside the Kernel's doc where the section is, but there's an space instead of a dash, plus it lacks the .rst at the end, which makes:
./scripts/documentation-file-ref-check
to complain.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/[email protected]/
Documentation/process/submitting-patches.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/process/submitting-patches.rst +2 -2
@@ -22,8 +22,8 @@ use it, it will make your life as a kernel developer and in general much easier. Some subsystems and maintainer trees have additional information about -their workflow and expectations, see :ref:`Documentation/process/maintainer -handbooks <maintainer_handbooks_main>`. +their workflow and expectations, see +:ref:`Documentation/process/maintainer-handbooks.rst <maintainer_handbooks_main>`. Obtain a current source tree ----------------------------
Signature · 1 line
2.33.1
PATCH 2/4 docs: accounting: update delay-accounting.rst reference
In reply to Mauro Carvalho ChehabThe file name: accounting/delay-accounting.rst
should be, instead: Documentation/accounting/delay-accounting.rst.
Also, there's no need to use doc:foo, as automarkup.py will automatically handle plain text mentions to Documentation/ files.
So, update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/[email protected]/
Documentation/admin-guide/sysctl/kernel.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/sysctl/kernel.rst +1 -1
@@ -1099,7 +1099,7 @@ task_delayacct =============== Enables/disables task delay accounting (see -:doc:`accounting/delay-accounting.rst`). Enabling this feature incurs +Documentation/accounting/delay-accounting.rst. Enabling this feature incurs a small amount of overhead in the scheduler but is useful for debugging and performance tuning. It is required by some tools such as iotop.
Signature · 1 line
2.33.1
PATCH 1/4 libbpf: update index.rst reference
In reply to Mauro Carvalho ChehabChangeset d20b41115ad5 ("libbpf: Rename libbpf documentation index file")
renamed: Documentation/bpf/libbpf/libbpf.rst
to: Documentation/bpf/libbpf/index.rst.
Update its cross-reference accordingly.
---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/[email protected]/
Documentation/bpf/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/bpf/index.rst +1 -1
@@ -15,7 +15,7 @@ that goes into great technical depth about the BPF Architecture. libbpf ====== -Documentation/bpf/libbpf/libbpf.rst is a userspace library for loading and interacting with bpf programs. +Documentation/bpf/libbpf/index.rst is a userspace library for loading and interacting with bpf programs. BPF Type Format (BTF) =====================
Signature · 1 line
2.33.1
Re: [PATCH 3/4] Documentation: update vcpu-requests.rst reference
In reply to Mauro Carvalho ChehabQuoted 23 lines · Mauro Carvalho Chehab
Changeset
2f5947dfcaec("Documentation: moveDocumentation/virtualtoDocumentation/virt")
renamed:Documentation/virtual/kvm/vcpu-requests.rst
to:Documentation/virt/kvm/vcpu-requests.rst.Update its cross-reference accordingly.
Fixes 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt")Reviewed-by Anup Patel <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/cover.1637064577.git.mchehab+huawei at kernel.org/
arch/riscv/kvm/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/kvm/vcpu.c +0
-0
arch/riscv/kvm/vcpu.c int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu) · line 746
Quoted 8 lines
arch/riscv/kvm/vcpu.c +1
-1@@ -740,7 +740,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu)* Ensure we set mode to IN_GUEST_MODE after we disable * interrupts and before the final VCPU requests check. * See the comment in kvm_vcpu_exiting_guest_mode() and -* Documentation/virtual/kvm/vcpu-requests.rst +* Documentation/virt/kvm/vcpu-requests.rst */ vcpu->mode =IN_GUEST_MODE ;
Thanks,
Paolo
Anup Patel
maintainerRe: [PATCH 3/4] Documentation: update vcpu-requests.rst reference
Quoted 19 lines · Paolo Bonzini
Quoted 17 lines · Mauro Carvalho Chehab
Changeset
2f5947dfcaec("Documentation: moveDocumentation/virtualtoDocumentation/virt")
renamed:Documentation/virtual/kvm/vcpu-requests.rst
to:Documentation/virt/kvm/vcpu-requests.rst.Update its cross-reference accordingly.
Fixes 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt")Reviewed-by Anup Patel <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/cover.1637064577.git.mchehab+huawei at kernel.org/
arch/riscv/kvm/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 16 lines
Quoted 6 lines
arch/riscv/kvm/vcpu.c +0
-0arch/riscv/kvm/vcpu.c int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu) · line 746
Quoted 8 lines
arch/riscv/kvm/vcpu.c +1
-1@@ -740,7 +740,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu)* Ensure we set mode to IN_GUEST_MODE after we disable * interrupts and before the final VCPU requests check. * See the comment in kvm_vcpu_exiting_guest_mode() and -* Documentation/virtual/kvm/vcpu-requests.rst +* Documentation/virt/kvm/vcpu-requests.rst */ vcpu->mode =IN_GUEST_MODE ;Acked-by Paolo Bonzini <[email protected]>
Thanks Paolo, let me know if you want me to include this patch as part of the fixes I have collected.
Regards,
Anup
Quoted 10 lines
Thanks,
Paolo
--
kvm-riscv mailing list
kvm-riscv at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kvm-riscv
Paolo Bonzini
maintainerRe: [PATCH 3/4] Documentation: update vcpu-requests.rst reference
Quoted 37 lines · Anup Patel
Quoted 19 lines · Paolo Bonzini
Quoted 17 lines · Mauro Carvalho Chehab
Changeset
2f5947dfcaec("Documentation: moveDocumentation/virtualtoDocumentation/virt")
renamed:Documentation/virtual/kvm/vcpu-requests.rst
to:Documentation/virt/kvm/vcpu-requests.rst.Update its cross-reference accordingly.
Fixes 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt")Reviewed-by Anup Patel <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/cover.1637064577.git.mchehab+huawei at kernel.org/
arch/riscv/kvm/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Quoted 16 lines
Quoted 6 lines
arch/riscv/kvm/vcpu.c +0
-0arch/riscv/kvm/vcpu.c int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu) · line 746
Quoted 8 lines
arch/riscv/kvm/vcpu.c +1
-1@@ -740,7 +740,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu)* Ensure we set mode to IN_GUEST_MODE after we disable * interrupts and before the final VCPU requests check. * See the comment in kvm_vcpu_exiting_guest_mode() and -* Documentation/virtual/kvm/vcpu-requests.rst +* Documentation/virt/kvm/vcpu-requests.rst */ vcpu->mode =IN_GUEST_MODE ;Acked-by Paolo Bonzini <[email protected]>
Quoted 2 lines
Thanks Paolo, let me know if you want me to include this patch as part of the fixes I have collected.
I think Mauro will handle it, but you can pick it as well.
Paolo
Anup Patel
maintainerRe: [PATCH 3/4] Documentation: update vcpu-requests.rst reference
Quoted 39 lines · Paolo Bonzini
Quoted 37 lines · Anup Patel
Quoted 35 lines · Paolo Bonzini
Quoted 23 lines · Mauro Carvalho Chehab
Changeset
2f5947dfcaec("Documentation: moveDocumentation/virtualtoDocumentation/virt")
renamed:Documentation/virtual/kvm/vcpu-requests.rst
to:Documentation/virt/kvm/vcpu-requests.rst.Update its cross-reference accordingly.
Fixes 2f5947dfcaec ("Documentation: move Documentation/virtual to Documentation/virt")Reviewed-by Anup Patel <[email protected]>Signed-off-by Mauro Carvalho Chehab <[email protected]>---
To mailbombing on a large number of people, only mailing lists were C/C on the cover. See [PATCH 0/4] at: https://lore.kernel.org/all/cover.1637064577.git.mchehab+huawei at kernel.org/
arch/riscv/kvm/vcpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/riscv/kvm/vcpu.c +0
-0arch/riscv/kvm/vcpu.c int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu) · line 746
Quoted 8 lines
arch/riscv/kvm/vcpu.c +1
-1@@ -740,7 +740,7 @@ int kvm_arch_vcpu_ioctl_run(struct kvm_vcpu *vcpu)* Ensure we set mode to IN_GUEST_MODE after we disable * interrupts and before the final VCPU requests check. * See the comment in kvm_vcpu_exiting_guest_mode() and -* Documentation/virtual/kvm/vcpu-requests.rst +* Documentation/virt/kvm/vcpu-requests.rst */ vcpu->mode =IN_GUEST_MODE ;Acked-by Paolo Bonzini <[email protected]>
Quoted 4 lines
Quoted 2 lines
Thanks Paolo, let me know if you want me to include this patch as part of the fixes I have collected.
I think Mauro will handle it, but you can pick it as well.
Okay, I will let Mauro handle it.
Thanks,
Anup
Quoted 3 lines
Paolo
Quoted 6 lines · Mauro Carvalho Chehab
Hi Jon,
It follows 4 patches addressing some issues during the 5.16 Kernel development cycle that were sent to the MLs but weren't merged yet.
They apply cleanly on the top of 5.16-rc1.
I've applied the set, thanks.
jon