mbox series

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

Message ID 20250619183414.100082-1-ebiggers@kernel.org
Headers show
Series lib/crc: improve docs and change crc32() to inline function | expand

Message

Eric Biggers June 19, 2025, 6:34 p.m. UTC
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

Comments

Ard Biesheuvel June 20, 2025, 9:40 p.m. UTC | #1
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>