Re: [PATCH] crypto: move Kconfig 842 to end of list, default to N

2015-05-22 Thread Herbert Xu
On Fri, May 22, 2015 at 08:08:28PM -0400, Dan Streetman wrote:
 Move the 842 compression alg choice to last in the list, so it's
 not in the middle of LZO/LZ4/LZ4HC.  Change its default to N, as it
 is a very slow alg, which generally should only be used with
 compression hardware that's capable of doing it much faster.
 
 Signed-off-by: Dan Streetman ddstr...@ieee.org

The default default is n so this is redundant.

Cheers,
-- 
Email: Herbert Xu herb...@gondor.apana.org.au
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line unsubscribe linux-crypto in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] crypto: move Kconfig 842 to end of list, default to N

2015-05-22 Thread Dan Streetman
On Fri, May 22, 2015 at 8:34 PM, Herbert Xu herb...@gondor.apana.org.au wrote:
 On Fri, May 22, 2015 at 08:08:28PM -0400, Dan Streetman wrote:
 Move the 842 compression alg choice to last in the list, so it's
 not in the middle of LZO/LZ4/LZ4HC.  Change its default to N, as it
 is a very slow alg, which generally should only be used with
 compression hardware that's capable of doing it much faster.

 Signed-off-by: Dan Streetman ddstr...@ieee.org

 The default default is n so this is redundant.

ah ok. never mind then! :-)


 Cheers,
 --
 Email: Herbert Xu herb...@gondor.apana.org.au
 Home Page: http://gondor.apana.org.au/~herbert/
 PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line unsubscribe linux-crypto in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH] crypto: move Kconfig 842 to end of list, default to N

2015-05-22 Thread Dan Streetman
Move the 842 compression alg choice to last in the list, so it's
not in the middle of LZO/LZ4/LZ4HC.  Change its default to N, as it
is a very slow alg, which generally should only be used with
compression hardware that's capable of doing it much faster.

Signed-off-by: Dan Streetman ddstr...@ieee.org
---
 crypto/Kconfig | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 24df47b..62ced6f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1419,14 +1419,6 @@ config CRYPTO_LZO
help
  This is the LZO algorithm.
 
-config CRYPTO_842
-   tristate 842 compression algorithm
-   select CRYPTO_ALGAPI
-   select 842_COMPRESS
-   select 842_DECOMPRESS
-   help
- This is the 842 algorithm.
-
 config CRYPTO_LZ4
tristate LZ4 compression algorithm
select CRYPTO_ALGAPI
@@ -1443,6 +1435,15 @@ config CRYPTO_LZ4HC
help
  This is the LZ4 high compression mode algorithm.
 
+config CRYPTO_842
+   tristate 842 compression algorithm
+   default n
+   select CRYPTO_ALGAPI
+   select 842_COMPRESS
+   select 842_DECOMPRESS
+   help
+ This is the 842 algorithm.
+
 comment Random Number Generation
 
 config CRYPTO_ANSI_CPRNG
-- 
2.1.0

--
To unsubscribe from this list: send the line unsubscribe linux-crypto in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html