Re: [PATCH] Documentation: kernel-hacking: change 'current()' to 'current'

From: Jonathan Corbet
Date: Mon Jan 11 2021 - 14:45:52 EST


On Mon, 11 Jan 2021 10:32:41 +0000
Joe Pater <02joepater06@xxxxxxxxx> wrote:

> Change 'current()' heading to 'current' to reflect usage.
>
> Signed-off-by: Joe Pater <02joepater06@xxxxxxxxx>
> ---
> 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