* [PATCH] Documentation: kernel-hacking: change 'current()' to 'current'
@ 2020-12-30 15:56 Joe Pater
0 siblings, 0 replies; 3+ messages in thread
From: Joe Pater @ 2020-12-30 15:56 UTC (permalink / raw)
To: corbet; +Cc: trivial, linux-doc, Joe Pater
Change 'current()' heading to 'current' to reflect usage.
Signed-off-by: Joe Pater <02joepater06@gmail.com>
---
Documentation/kernel-hacking/hacking.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index eed2136d847f..451523424942 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -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``
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] Documentation: kernel-hacking: change 'current()' to 'current'
2021-01-11 10:32 Joe Pater
@ 2021-01-11 19:45 ` Jonathan Corbet
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Corbet @ 2021-01-11 19:45 UTC (permalink / raw)
To: Joe Pater; +Cc: linux-doc, linux-kernel
On Mon, 11 Jan 2021 10:32:41 +0000
Joe Pater <02joepater06@gmail.com> wrote:
> Change 'current()' heading to 'current' to reflect usage.
>
> Signed-off-by: Joe Pater <02joepater06@gmail.com>
> ---
> Documentation/kernel-hacking/hacking.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
> index eed2136d847f..451523424942 100644
> --- a/Documentation/kernel-hacking/hacking.rst
> +++ b/Documentation/kernel-hacking/hacking.rst
> @@ -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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Documentation: kernel-hacking: change 'current()' to 'current'
@ 2021-01-11 10:32 Joe Pater
2021-01-11 19:45 ` Jonathan Corbet
0 siblings, 1 reply; 3+ messages in thread
From: Joe Pater @ 2021-01-11 10:32 UTC (permalink / raw)
To: Jonathan Corbet; +Cc: linux-doc, linux-kernel, Joe Pater
Change 'current()' heading to 'current' to reflect usage.
Signed-off-by: Joe Pater <02joepater06@gmail.com>
---
Documentation/kernel-hacking/hacking.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index eed2136d847f..451523424942 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -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
--
2.29.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-01-11 19:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-30 15:56 [PATCH] Documentation: kernel-hacking: change 'current()' to 'current' Joe Pater
2021-01-11 10:32 Joe Pater
2021-01-11 19:45 ` Jonathan Corbet
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.