All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: Vedant Dave <vedantdave354@gmail.com>
Cc: Ard Biesheuvel <ardb@kernel.org>,
	linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] lib/crc: Fix kernel-doc for crc32init_le_generic
Date: Fri, 27 Nov 2026 11:26:16 -0800	[thread overview]
Message-ID: <20261127192616.GD8300@quark> (raw)
In-Reply-To: <20261127081001.327898-1-vedantdave354@gmail.com>

On Fri, Nov 27, 2026 at 01:40:01PM +0530, Vedant Dave wrote:
> kernel-doc -none -Wall lib/crc/gen_crc32table.c reports:
> 
>   function parameter 'polynomial' not described in 'crc32init_le_generic'
>   function parameter 'tab' not described in 'crc32init_le_generic'
>   expecting prototype for crc32init_le(). Prototype was for
>   crc32init_le_generic() instead
> 
> The kernel-doc comment is named crc32init_le() but sits above
> crc32init_le_generic(), and it does not describe the @polynomial and
> @tab parameters. Rename the comment to match the function and
> document both parameters.
> 
> Comment-only change with no functional difference. After the change,
> kernel-doc reports no warnings for this file.
> 
> An AI coding assistant helped draft this change. I reviewed it and
> understand it.
> 
> Signed-off-by: Vedant Dave <vedantdave354@gmail.com>
> ---
>  lib/crc/gen_crc32table.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=crc-next

Thanks,

- Eric

      reply	other threads:[~2026-11-27 19:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-27  8:10 [PATCH] lib/crc: Fix kernel-doc for crc32init_le_generic Vedant Dave
2026-11-27 19:26 ` Eric Biggers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261127192616.GD8300@quark \
    --to=ebiggers@kernel.org \
    --cc=ardb@kernel.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vedantdave354@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.