Re: [PATCH] docs: kernel-hacking: fix typo
From: Randy Dunlap
Date: Sat Jun 27 2026 - 14:10:03 EST
Hi,
On 6/27/26 2:16 AM, Manuel Ebner wrote:
> GP_KERNEL -> GFP_KERNEL
>
> Signed-off-by: Manuel Ebner <manuelebner@xxxxxxxxxxx>
> ---
> Documentation/kernel-hacking/locking.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/kernel-hacking/locking.rst b/Documentation/kernel-hacking/locking.rst
> index c969c76ef7cb..9c6c76d3a723 100644
> --- a/Documentation/kernel-hacking/locking.rst
> +++ b/Documentation/kernel-hacking/locking.rst
> @@ -1317,7 +1317,7 @@ from user context, and can sleep.
>
> - put_user()
>
> -- kmalloc(GP_KERNEL) <kmalloc>`
> +- kmalloc(GFP_KERNEL) <kmalloc>`
Please drop the trailing ` mark.
I have no idea what it was meant to be, but it adds nothing
to the rendered HTML output.
(I also have no idea why the trailing <kmalloc> is there.)
But the GFP_KERNEL change is good.
>
> - mutex_lock_interruptible() and
> mutex_lock()
--
~Randy