]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Documentation: KVM: fix warning in "make htmldocs"
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 27 Sep 2024 15:45:45 +0000 (11:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:33:49 +0000 (16:33 +0200)
commit efbc6bd090f48ccf64f7a8dd5daea775821d57ec upstream.

The warning

 Documentation/virt/kvm/locking.rst:31: ERROR: Unexpected indentation.

is caused by incorrectly treating a line as the continuation of a paragraph,
rather than as the first line in a bullet list.

Fixed: 44d174596260 ("KVM: Use dedicated mutex to protect kvm_usage_count to avoid deadlock")
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/virt/kvm/locking.rst

index c0cb5ce51c1e024682819010d43b62907b5ef9f3..198a5a8f26c2dafa5a2801f403949741dd59e733 100644 (file)
@@ -25,6 +25,7 @@ The acquisition orders for mutexes are as follows:
   must not take either kvm->slots_lock or kvm->slots_arch_lock.
 
 cpus_read_lock() vs kvm_lock:
+
 - Taking cpus_read_lock() outside of kvm_lock is problematic, despite that
   being the official ordering, as it is quite easy to unknowingly trigger
   cpus_read_lock() while holding kvm_lock.  Use caution when walking vm_list,