mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] crypto: Add aliases to deflate
@ 2024-06-17 20:33 Kyle Meyer
  2024-06-28  1:49 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Meyer @ 2024-06-17 20:33 UTC (permalink / raw)
  To: herbert, davem, tom.zanussi, linux-crypto, linux-kernel
  Cc: russ.anderson, Kyle Meyer

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: Add aliases to deflate
  2024-06-17 20:33 [PATCH] crypto: Add aliases to deflate Kyle Meyer
@ 2024-06-28  1:49 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2024-06-28  1:49 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: davem, tom.zanussi, linux-crypto, linux-kernel, russ.anderson

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-28  1:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-17 20:33 [PATCH] crypto: Add aliases to deflate Kyle Meyer
2024-06-28  1:49 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®