[PATCH 0/3] lib/crc: improve docs and change crc32() to inline function

Eric Biggers posted 3 patches 3 months, 3 weeks ago
Documentation/core-api/kernel-api.rst |  6 ++-
include/linux/crc32.h                 | 74 ++++++++++++++++++++++++++-
include/linux/crc32poly.h             | 16 ++----
3 files changed, 81 insertions(+), 15 deletions(-)
[PATCH 0/3] lib/crc: improve docs and change crc32() to inline function
Posted by Eric Biggers 3 months, 3 weeks ago
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
Re: [PATCH 0/3] lib/crc: improve docs and change crc32() to inline function
Posted by Ard Biesheuvel 3 months, 2 weeks ago
On Thu, 19 Jun 2025 at 20:35, Eric Biggers <ebiggers@kernel.org> wrote:
>
> 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
>

For the series,

Acked-by: Ard Biesheuvel <ardb@kernel.org>