Skip to content

Commit 2370ae4

Browse files
mchehabtorvalds
authored andcommitted
docs: mm: slab.h: fix a broken cross-reference
There is a typo at the cross-reference link, causing this warning: include/linux/slab.h:11: WARNING: undefined label: memory-allocation (if the link has no caption the label must precede a section header) Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Cc: Jonathan Corbet <[email protected]> Cc: Christoph Lameter <[email protected]> Cc: Pekka Enberg <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joonsoo Kim <[email protected]> Link: http://lkml.kernel.org/r/0aeac24235d356ebd935d11e147dcc6edbb6465c.1586359676.git.mchehab+huawei@kernel.org Signed-off-by: Linus Torvalds <[email protected]>
1 parent b991cee commit 2370ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/slab.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ static __always_inline void *kmalloc_large(size_t size, gfp_t flags)
501501
* :ref:`Documentation/core-api/mm-api.rst <mm-api-gfp-flags>`
502502
*
503503
* The recommended usage of the @flags is described at
504-
* :ref:`Documentation/core-api/memory-allocation.rst <memory-allocation>`
504+
* :ref:`Documentation/core-api/memory-allocation.rst <memory_allocation>`
505505
*
506506
* Below is a brief outline of the most useful GFP flags
507507
*

0 commit comments

Comments
 (0)