The label in sphinx can refer to a document section but not to the document header. The handle 'memory_allocation' is used in another document(s) to refer to GFP_KERNEL flags description in this modified document. Since the sphinx label does not work as it is placed here, a proposal is to better shift it to the section about memory allocation flags. Signed-off-by: Lothar Rubusch <l.rubusch@xxxxxxxxx> --- Documentation/core-api/memory-allocation.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/core-api/memory-allocation.rst b/Documentation/core-api/memory-allocation.rst index 4aa82ddd01b8..4d66ddcb9883 100644 --- a/Documentation/core-api/memory-allocation.rst +++ b/Documentation/core-api/memory-allocation.rst @@ -1,5 +1,3 @@ -.. _memory_allocation: - ======================= Memory Allocation Guide ======================= @@ -26,6 +24,9 @@ answer, although very likely you should use Of course there are cases when other allocation APIs and different GFP flags must be used. + +.. _memory_allocation: + Get Free Page flags =================== -- 2.20.1