mirror of
https://github.com/torvalds/linux.git
synced 2026-05-28 09:04:39 +02:00
crypto: acomp - Use cra_reqsize
Use the common reqsize if present. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
afddce13ce
commit
dbad301d9f
|
|
@ -109,7 +109,7 @@ static int crypto_acomp_init_tfm(struct crypto_tfm *tfm)
|
|||
|
||||
acomp->compress = alg->compress;
|
||||
acomp->decompress = alg->decompress;
|
||||
acomp->reqsize = alg->reqsize;
|
||||
acomp->reqsize = alg->base.cra_reqsize ?: alg->reqsize;
|
||||
|
||||
acomp->base.exit = crypto_acomp_exit_tfm;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user