[PATCH 0/2] lib/crc16: unexport crc16_table and crc16_byte()

Eric Biggers posted 2 patches 9 months ago
drivers/w1/slaves/w1_ds2406.c | 12 ++----------
include/linux/crc16.h         |  9 +--------
lib/crc16.c                   |  9 ++++-----
3 files changed, 7 insertions(+), 23 deletions(-)
[PATCH 0/2] lib/crc16: unexport crc16_table and crc16_byte()
Posted by Eric Biggers 9 months ago
This series removes the only caller of crc16_byte() outside lib/crc16.c,
then folds crc16_table and crc16_byte() into lib/crc16.c.  I'm planning
to apply this to the crc tree.

Eric Biggers (2):
  w1: ds2406: use crc16() instead of crc16_byte() loop
  lib/crc16: unexport crc16_table and crc16_byte()

 drivers/w1/slaves/w1_ds2406.c | 12 ++----------
 include/linux/crc16.h         |  9 +--------
 lib/crc16.c                   |  9 ++++-----
 3 files changed, 7 insertions(+), 23 deletions(-)


base-commit: e8d72b766adcde14188e68968f3cd05f4321691d
-- 
2.49.0
Re: [PATCH 0/2] lib/crc16: unexport crc16_table and crc16_byte()
Posted by Ard Biesheuvel 9 months ago
On Tue, 13 May 2025 at 03:22, Eric Biggers <ebiggers@kernel.org> wrote:
>
> This series removes the only caller of crc16_byte() outside lib/crc16.c,
> then folds crc16_table and crc16_byte() into lib/crc16.c.  I'm planning
> to apply this to the crc tree.
>
> Eric Biggers (2):
>   w1: ds2406: use crc16() instead of crc16_byte() loop
>   lib/crc16: unexport crc16_table and crc16_byte()
>
>  drivers/w1/slaves/w1_ds2406.c | 12 ++----------
>  include/linux/crc16.h         |  9 +--------
>  lib/crc16.c                   |  9 ++++-----
>  3 files changed, 7 insertions(+), 23 deletions(-)
>

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