[Linux-kernel-mentees] [PATCH] Documentation: RCU: lockdep.txt: Convert to lockdep.rst

Jonathan Corbet corbet at lwn.net
Sat Feb 29 21:06:15 UTC 2020


On Sun,  1 Mar 2020 01:16:36 +0530
Pawan Kumar Meena <pawank1804 at gmail.com> wrote:

> diff --git a/Documentation/RCU/lockdep.txt b/Documentation/RCU/lockdep.rst
> similarity index 99%
> rename from Documentation/RCU/lockdep.txt
> rename to Documentation/RCU/lockdep.rst
> index 89db949eeca0..4e71f77bdd28 100644
> --- a/Documentation/RCU/lockdep.txt
> +++ b/Documentation/RCU/lockdep.rst
> @@ -1,3 +1,5 @@
> +.. _lockdep_doc:
> +
>  RCU and lockdep checking
>  
>  All flavors of RCU have lockdep checking available, so that lockdep is

So what about the rest of the file?  You've renamed it, but there's no
formatting changes to the document itself.

Also...  we don't add labels to code just because we might want to jump to
them someday.  Similarly, I don't think we should add labels to the docs
unless we actually need them.

Thanks,

jon


More information about the Linux-kernel-mentees mailing list