mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2025-04-19 20:58:31 +09:00
lib/crc: remove CONFIG_LIBCRC32C
Now that LIBCRC32C does nothing besides select CRC32, make every option that selects LIBCRC32C instead select CRC32 directly. Then remove LIBCRC32C. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com> Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250401221600.24878-8-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
parent
31ab49a99f
commit
b261d22220
@ -367,7 +367,7 @@ config BLK_DEV_RBD
|
||||
tristate "Rados block device (RBD)"
|
||||
depends on INET && BLOCK
|
||||
select CEPH_LIB
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select CRYPTO_AES
|
||||
select CRYPTO
|
||||
help
|
||||
|
@ -10,7 +10,7 @@ config BLK_DEV_DRBD
|
||||
tristate "DRBD Distributed Replicated Block Device support"
|
||||
depends on PROC_FS && INET
|
||||
select LRU_CACHE
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
help
|
||||
|
||||
NOTE: In order to authenticate connections you have to select
|
||||
|
@ -139,7 +139,7 @@ config MD_RAID456
|
||||
tristate "RAID-4/RAID-5/RAID-6 mode"
|
||||
depends on BLK_DEV_MD
|
||||
select RAID6_PQ
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select ASYNC_MEMCPY
|
||||
select ASYNC_XOR
|
||||
select ASYNC_PQ
|
||||
|
@ -2,7 +2,7 @@
|
||||
config DM_PERSISTENT_DATA
|
||||
tristate
|
||||
depends on BLK_DEV_DM
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select DM_BUFIO
|
||||
help
|
||||
Library providing immutable on-disk data structure support for
|
||||
|
@ -143,7 +143,7 @@ config BNX2X
|
||||
depends on PTP_1588_CLOCK_OPTIONAL
|
||||
select FW_LOADER
|
||||
select ZLIB_INFLATE
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select MDIO
|
||||
help
|
||||
This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards.
|
||||
@ -207,7 +207,7 @@ config BNXT
|
||||
depends on PCI
|
||||
depends on PTP_1588_CLOCK_OPTIONAL
|
||||
select FW_LOADER
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select NET_DEVLINK
|
||||
select PAGE_POOL
|
||||
select DIMLIB
|
||||
|
@ -70,8 +70,8 @@ config LIQUIDIO
|
||||
depends on 64BIT && PCI
|
||||
depends on PCI
|
||||
depends on PTP_1588_CLOCK_OPTIONAL
|
||||
select CRC32
|
||||
select FW_LOADER
|
||||
select LIBCRC32C
|
||||
select LIQUIDIO_CORE
|
||||
select NET_DEVLINK
|
||||
help
|
||||
|
@ -4,7 +4,7 @@ config BCACHEFS_FS
|
||||
depends on BLOCK
|
||||
select EXPORTFS
|
||||
select CLOSURES
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select CRC64
|
||||
select FS_POSIX_ACL
|
||||
select LZ4_COMPRESS
|
||||
|
@ -3,9 +3,9 @@
|
||||
config BTRFS_FS
|
||||
tristate "Btrfs filesystem support"
|
||||
select BLK_CGROUP_PUNT_BIO
|
||||
select CRC32
|
||||
select CRYPTO
|
||||
select CRYPTO_CRC32C
|
||||
select LIBCRC32C
|
||||
select CRYPTO_XXHASH
|
||||
select CRYPTO_SHA256
|
||||
select CRYPTO_BLAKE2B
|
||||
|
@ -3,7 +3,7 @@ config CEPH_FS
|
||||
tristate "Ceph distributed file system"
|
||||
depends on INET
|
||||
select CEPH_LIB
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select CRYPTO_AES
|
||||
select CRYPTO
|
||||
select NETFS_SUPPORT
|
||||
|
@ -3,8 +3,8 @@
|
||||
config EROFS_FS
|
||||
tristate "EROFS filesystem support"
|
||||
depends on BLOCK
|
||||
select CRC32
|
||||
select FS_IOMAP
|
||||
select LIBCRC32C
|
||||
help
|
||||
EROFS (Enhanced Read-Only File System) is a lightweight read-only
|
||||
file system with modern designs (e.g. no buffer heads, inline
|
||||
|
@ -4,7 +4,6 @@ config GFS2_FS
|
||||
select BUFFER_HEAD
|
||||
select FS_POSIX_ACL
|
||||
select CRC32
|
||||
select LIBCRC32C
|
||||
select QUOTACTL
|
||||
select FS_IOMAP
|
||||
help
|
||||
|
@ -3,7 +3,7 @@ config XFS_FS
|
||||
tristate "XFS filesystem support"
|
||||
depends on BLOCK
|
||||
select EXPORTFS
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select FS_IOMAP
|
||||
help
|
||||
XFS is a high performance journaling filesystem which originated
|
||||
|
@ -208,13 +208,6 @@ config CRC7
|
||||
The CRC7 library functions. Select this if your module uses any of
|
||||
the functions from <linux/crc7.h>.
|
||||
|
||||
config LIBCRC32C
|
||||
tristate
|
||||
select CRC32
|
||||
help
|
||||
This option just selects CRC32 and is provided for compatibility
|
||||
purposes until the users are updated to select CRC32 directly.
|
||||
|
||||
config CRC8
|
||||
tristate
|
||||
help
|
||||
|
@ -9,7 +9,7 @@
|
||||
|
||||
config BATMAN_ADV
|
||||
tristate "B.A.T.M.A.N. Advanced Meshing Protocol"
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
help
|
||||
B.A.T.M.A.N. (better approach to mobile ad-hoc networking) is
|
||||
a routing protocol for multi-hop ad-hoc mesh networks. The
|
||||
|
@ -2,7 +2,7 @@
|
||||
config CEPH_LIB
|
||||
tristate "Ceph core library"
|
||||
depends on INET
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select CRYPTO_AES
|
||||
select CRYPTO_CBC
|
||||
select CRYPTO_GCM
|
||||
|
@ -212,7 +212,7 @@ config NF_CT_PROTO_SCTP
|
||||
bool 'SCTP protocol connection tracking support'
|
||||
depends on NETFILTER_ADVANCED
|
||||
default y
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
help
|
||||
With this option enabled, the layer 3 independent connection
|
||||
tracking code will be able to do state tracking on SCTP connections.
|
||||
@ -475,7 +475,7 @@ endif # NF_CONNTRACK
|
||||
|
||||
config NF_TABLES
|
||||
select NETFILTER_NETLINK
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
tristate "Netfilter nf_tables support"
|
||||
help
|
||||
nftables is the new packet classification framework that intends to
|
||||
|
@ -105,7 +105,7 @@ config IP_VS_PROTO_AH
|
||||
|
||||
config IP_VS_PROTO_SCTP
|
||||
bool "SCTP load balancing support"
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
help
|
||||
This option enables support for load balancing SCTP transport
|
||||
protocol. Say Y if unsure.
|
||||
|
@ -11,7 +11,7 @@ config OPENVSWITCH
|
||||
(!NF_NAT || NF_NAT) && \
|
||||
(!NETFILTER_CONNCOUNT || NETFILTER_CONNCOUNT)))
|
||||
depends on PSAMPLE || !PSAMPLE
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
select MPLS
|
||||
select NET_MPLS_GSO
|
||||
select DST_CACHE
|
||||
|
@ -784,7 +784,7 @@ config NET_ACT_SKBEDIT
|
||||
config NET_ACT_CSUM
|
||||
tristate "Checksum Updating"
|
||||
depends on NET_CLS_ACT && INET
|
||||
select LIBCRC32C
|
||||
select CRC32
|
||||
help
|
||||
Say Y here to update some common checksum after some direct
|
||||
packet alterations.
|
||||
|
@ -7,10 +7,10 @@ menuconfig IP_SCTP
|
||||
tristate "The SCTP Protocol"
|
||||
depends on INET
|
||||
depends on IPV6 || IPV6=n
|
||||
select CRC32
|
||||
select CRYPTO
|
||||
select CRYPTO_HMAC
|
||||
select CRYPTO_SHA1
|
||||
select LIBCRC32C
|
||||
select NET_UDP_TUNNEL
|
||||
help
|
||||
Stream Control Transmission Protocol
|
||||
|
Loading…
x
Reference in New Issue
Block a user