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

From: Eric Biggers
Date: Thu Jun 19 2025 - 14:35:47 EST


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