diff mbox series

crypto: Add aliases to deflate

Message ID 20240617203316.132697-1-kyle.meyer@hpe.com (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series crypto: Add aliases to deflate | expand

Commit Message

Kyle Meyer June 17, 2024, 8:33 p.m. UTC
iaa_crypto depends on the deflate compression algorithm that's provided
by deflate.

If the algorithm is not available because CRYPTO_DEFLATE=m and deflate
is not inserted, iaa_crypto will request "crypto-deflate-generic".
Deflate will not be inserted because "crypto-deflate-generic" is not a
valid alias.

Add deflate-generic and crypto-deflate-generic aliases to deflate.

Signed-off-by: Kyle Meyer <kyle.meyer@hpe.com>
---
 crypto/deflate.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Herbert Xu June 28, 2024, 1:49 a.m. UTC | #1
On Mon, Jun 17, 2024 at 03:33:17PM -0500, Kyle Meyer wrote:
> iaa_crypto depends on the deflate compression algorithm that's provided
> by deflate.
> 
> If the algorithm is not available because CRYPTO_DEFLATE=m and deflate
> is not inserted, iaa_crypto will request "crypto-deflate-generic".
> Deflate will not be inserted because "crypto-deflate-generic" is not a
> valid alias.
> 
> Add deflate-generic and crypto-deflate-generic aliases to deflate.
> 
> Signed-off-by: Kyle Meyer <kyle.meyer@hpe.com>
> ---
>  crypto/deflate.c | 1 +
>  1 file changed, 1 insertion(+)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/crypto/deflate.c b/crypto/deflate.c
index 6e31e0db0e86..98e8bcb81a6a 100644
--- a/crypto/deflate.c
+++ b/crypto/deflate.c
@@ -311,3 +311,4 @@  MODULE_LICENSE("GPL");
 MODULE_DESCRIPTION("Deflate Compression Algorithm for IPCOMP");
 MODULE_AUTHOR("James Morris <jmorris@intercode.com.au>");
 MODULE_ALIAS_CRYPTO("deflate");
+MODULE_ALIAS_CRYPTO("deflate-generic");