Skip to contentSkip to conversation

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

PATCH Applied Joe Pater 2 participants 2 messages Jan 11, 2021 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``
 

base-commit: 7c53f6b671f4aba70ff15e1b05148b10d58c2837

Signature · 1 line
2.29.2
maintainer Applied
#1 lore raw
Quoted 12 lines · On Mon, 11 Jan 2021 10:32:41 +0000 Joe Pater <[email protected]> wrote:

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 +0 -0
index eed2136d847f..451523424942 100644

Documentation/kernel-hacking/hacking.rst routine. · line 350

Quoted 7 lines
Documentation/kernel-hacking/hacking.rst +2 -2
@@ -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`
+------------------

Applied, thanks.

jon