Thread (3 messages) 3 messages, 3 authors, 2016-01-19

Re: [PATCH] crypto: Fix crc32c soft dependency

From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2016-01-19 07:57:33

On Mon, Jan 18, 2016 at 05:06:05PM +0100, Jean Delvare wrote:
I don't think it makes sense for a module to have a soft dependency
on itself. This seems quite cyclic by nature and I can't see what
purpose it could serve.

OTOH libcrc32c calls crypto_alloc_shash("crc32c", 0, 0) so it pretty
much assumes that some incarnation of the "crc32c" hash algorithm has
been loaded. Therefore it makes sense to have the soft dependency
there (as crc-t10dif does.)

Signed-off-by: Jean Delvare <redacted>
Cc: Tim Chen <redacted>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Well caught.  Patch applied, thanks!
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help