[PATCH] crypto: Add aliases to deflate

Kyle Meyer posted 1 patch 1 year, 6 months ago
crypto/deflate.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] crypto: Add aliases to deflate
Posted by Kyle Meyer 1 year, 6 months ago
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(+)

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");
-- 
2.35.3
Re: [PATCH] crypto: Add aliases to deflate
Posted by Herbert Xu 1 year, 5 months ago
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.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt