mbox series

[0/2] lib/crc: simplify choice of CRC implementations

Message ID 20250123212904.118683-1-ebiggers@kernel.org (mailing list archive)
Headers show
Series lib/crc: simplify choice of CRC implementations | expand

Message

Eric Biggers Jan. 23, 2025, 9:29 p.m. UTC
This series simplifies the choice of CRC implementations, as requested
by Linus at
https://lore.kernel.org/linux-crypto/CAHk-=wgqAZf7Sdyrka5RQQ2MVC1V_C1Gp68KrN=mHjPiRw70Jg@mail.gmail.com/

Eric Biggers (2):
  lib/crc: simplify the kconfig options for CRC implementations
  lib/crc32: remove other generic implementations

 lib/Kconfig          | 118 +++--------------------
 lib/crc32.c          | 225 ++-----------------------------------------
 lib/crc32defs.h      |  59 ------------
 lib/gen_crc32table.c | 113 ++++++----------------
 4 files changed, 53 insertions(+), 462 deletions(-)
 delete mode 100644 lib/crc32defs.h

Comments

Eric Biggers Jan. 25, 2025, 12:37 a.m. UTC | #1
On Thu, Jan 23, 2025 at 01:29:02PM -0800, Eric Biggers wrote:
> This series simplifies the choice of CRC implementations, as requested
> by Linus at
> https://lore.kernel.org/linux-crypto/CAHk-=wgqAZf7Sdyrka5RQQ2MVC1V_C1Gp68KrN=mHjPiRw70Jg@mail.gmail.com/
> 
> Eric Biggers (2):
>   lib/crc: simplify the kconfig options for CRC implementations
>   lib/crc32: remove other generic implementations
> 
>  lib/Kconfig          | 118 +++--------------------
>  lib/crc32.c          | 225 ++-----------------------------------------
>  lib/crc32defs.h      |  59 ------------
>  lib/gen_crc32table.c | 113 ++++++----------------
>  4 files changed, 53 insertions(+), 462 deletions(-)
>  delete mode 100644 lib/crc32defs.h

FYI, I am tentatively planning a pull request next week with this, and this is
now in linux-next (via my crc-next tree).  Reviews / acks appreciated!

- Eric
Martin K. Petersen Jan. 29, 2025, 3 a.m. UTC | #2
Eric,

> This series simplifies the choice of CRC implementations, as requested
> by Linus at

LGTM.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Ard Biesheuvel Jan. 29, 2025, 4:11 p.m. UTC | #3
On Sat, 25 Jan 2025 at 01:37, Eric Biggers <ebiggers@kernel.org> wrote:
>
> On Thu, Jan 23, 2025 at 01:29:02PM -0800, Eric Biggers wrote:
> > This series simplifies the choice of CRC implementations, as requested
> > by Linus at
> > https://lore.kernel.org/linux-crypto/CAHk-=wgqAZf7Sdyrka5RQQ2MVC1V_C1Gp68KrN=mHjPiRw70Jg@mail.gmail.com/
> >
> > Eric Biggers (2):
> >   lib/crc: simplify the kconfig options for CRC implementations
> >   lib/crc32: remove other generic implementations
> >
> >  lib/Kconfig          | 118 +++--------------------
> >  lib/crc32.c          | 225 ++-----------------------------------------
> >  lib/crc32defs.h      |  59 ------------
> >  lib/gen_crc32table.c | 113 ++++++----------------
> >  4 files changed, 53 insertions(+), 462 deletions(-)
> >  delete mode 100644 lib/crc32defs.h
>
> FYI, I am tentatively planning a pull request next week with this, and this is
> now in linux-next (via my crc-next tree).  Reviews / acks appreciated!
>

For the series,

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