[PATCH 08/11] docs/core-api: Replace Footnote Reference in document idr with Substitution Reference

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix warning as:

linux-next/Documentation/core-api/idr.rst:20: WARNING: Unknown target name: "xarray".

Signed-off-by: Yanteng Si <siyanteng@xxxxxxxxxxx>
---
 Documentation/core-api/idr.rst    | 3 ++-
 Documentation/core-api/xarray.rst | 1 -
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/core-api/idr.rst b/Documentation/core-api/idr.rst
index 3a1589b70244..be6023f42472 100644
--- a/Documentation/core-api/idr.rst
+++ b/Documentation/core-api/idr.rst
@@ -17,7 +17,8 @@ solution to the problem to avoid everybody inventing their own.  The IDR
 provides the ability to map an ID to a pointer, while the IDA provides
 only ID allocation, and as a result is much more memory-efficient.
 
-The IDR interface is deprecated; please use the XArray_ instead.
+The IDR interface is deprecated; please use the
+:XArray: Documentation/core-api/xarray.rst instead.
 
 IDR usage
 =========
diff --git a/Documentation/core-api/xarray.rst b/Documentation/core-api/xarray.rst
index a91bc8aca5ab..a137a0e6d068 100644
--- a/Documentation/core-api/xarray.rst
+++ b/Documentation/core-api/xarray.rst
@@ -1,5 +1,4 @@
 .. SPDX-License-Identifier: GPL-2.0+
-.. _xarray:
 
 ======
 XArray
-- 
2.27.0




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux