From: Eric Biggers <ebiggers@kernel.org>
To: linux-kernel@vger.kernel.org
Cc: Ard Biesheuvel <ardb@kernel.org>, linux-crypto@vger.kernel.org
Subject: [PATCH 0/3] lib/crc: improve docs and change crc32() to inline function
Date: Thu, 19 Jun 2025 11:34:11 -0700 [thread overview]
Message-ID: <20250619183414.100082-1-ebiggers@kernel.org> (raw)
Document crc32_le(), crc32_be(), and crc32c(). Also change crc32() from
a macro to an inline function.
Eric Biggers (3):
lib/crc/crc32: document crc32_le(), crc32_be(), and crc32c()
lib/crc/crc32: change crc32() from macro to inline function and remove
cast
lib/crc/crc64: add include/linux/crc64.h to kernel-api.rst
Documentation/core-api/kernel-api.rst | 6 ++-
include/linux/crc32.h | 74 ++++++++++++++++++++++++++-
include/linux/crc32poly.h | 16 ++----
3 files changed, 81 insertions(+), 15 deletions(-)
base-commit: ee925097a5a76eaf9c4954cdd7288a070d57a8d4
--
2.50.0
next reply other threads:[~2025-06-19 18:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-19 18:34 Eric Biggers [this message]
2025-06-19 18:34 ` [PATCH 1/3] lib/crc/crc32: document crc32_le(), crc32_be(), and crc32c() Eric Biggers
2025-06-19 18:34 ` [PATCH 2/3] lib/crc/crc32: change crc32() from macro to inline function and remove cast Eric Biggers
2025-06-20 7:01 ` kernel test robot
2025-06-19 18:34 ` [PATCH 3/3] lib/crc/crc64: add include/linux/crc64.h to kernel-api.rst Eric Biggers
2025-06-20 21:40 ` [PATCH 0/3] lib/crc: improve docs and change crc32() to inline function Ard Biesheuvel
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=20250619183414.100082-1-ebiggers@kernel.org \
--to=ebiggers@kernel.org \
--cc=ardb@kernel.org \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).