Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: iaa - Switch to ACOMP_FBREQ_ON_STACK

Rather than copying the request by hand, use the ACOMP_FBREQ_ON_STACK
helper to do it.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

+1 -4
+1 -4
drivers/crypto/intel/iaa/iaa_crypto_main.c
··· 999 999 1000 1000 static int deflate_generic_decompress(struct acomp_req *req) 1001 1001 { 1002 - ACOMP_REQUEST_ON_STACK(fbreq, crypto_acomp_reqtfm(req)); 1002 + ACOMP_FBREQ_ON_STACK(fbreq, req); 1003 1003 int ret; 1004 1004 1005 - acomp_request_set_callback(fbreq, 0, NULL, NULL); 1006 - acomp_request_set_params(fbreq, req->src, req->dst, req->slen, 1007 - req->dlen); 1008 1005 ret = crypto_acomp_decompress(fbreq); 1009 1006 req->dlen = fbreq->dlen; 1010 1007