Re: [PATCH] docs: digsig: fix siglen parameter name in digsig_verify()
From: Randy Dunlap
Date: Mon Nov 23 2026 - 12:08:02 EST
On 11/23/26 8:44 AM, Baran Tuna wrote:
> The kernel-doc excerpt for digsig_verify() names the signature length
> parameter @sigen, but the parameter is called siglen in both
> include/linux/digsig.h and lib/digsig.c. Use the correct name.
>
> Signed-off-by: Baran Tuna <barant@xxxxxxxxxxxx>
Acked-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Thanks.
> ---
> Documentation/security/digsig.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/security/digsig.rst b/Documentation/security/digsig.rst
> index de035f282196..25a0d7969668 100644
> --- a/Documentation/security/digsig.rst
> +++ b/Documentation/security/digsig.rst
> @@ -62,7 +62,7 @@ API currently includes only 1 function::
> * digsig_verify() - digital signature verification with public key
> * @keyring: keyring to search key in
> * @sig: digital signature
> - * @sigen: length of the signature
> + * @siglen: length of the signature
> * @data: data
> * @datalen: length of the data
> * @return: 0 on success, -EINVAL otherwise
>
> base-commit: 2138148bf44fd84d3e0a863f0e8cb3627cdcc606
--
~Randy