Skip to contentSkip to conversation

Documentation: kernel-hacking: change 'current()' to 'current'

PATCH New Joe Pater 1 participant 1 message Dec 30, 2020 Documentation

lore
Share & tools
lore

Joe Pater

author
#0 lore raw

PATCH 1/1 Documentation: kernel-hacking: change 'current()' to 'current'

Change 'current()' heading to 'current' to reflect usage.

---
 Documentation/kernel-hacking/hacking.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/hacking.rst +2 -2
index eed2136d847f..451523424942 100644
@@ -346,8 +346,8 @@ routine.
 Before inventing your own cache of often-used objects consider using a
 slab cache in ``include/linux/slab.h``
 
-:c:func:`current()`
--------------------
+:c:macro:`current`
+------------------
 
 Defined in ``include/asm/current.h``
 
Signature · 1 line
2.29.2