Re: [PATCH v3 3/3] crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req()

From: Sasha Levin
Date: Fri Jun 05 2020 - 10:10:54 EST


Hi

[This is an automated email]

This commit has been processed because it contains a "Fixes:" tag
fixing commit: dbaf0624ffa5 ("crypto: add virtio-crypto driver").

The bot has tested the following trees: v5.6.15, v5.4.43, v4.19.125, v4.14.182.

v5.6.15: Build OK!
v5.4.43: Build failed! Errors:
drivers/crypto/virtio/virtio_crypto_algs.c:408:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:408:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:408:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:408:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:408:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:408:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
./include/linux/kernel.h:866:2: error: first argument to â??__builtin_choose_exprâ?? not a constant

v4.19.125: Build failed! Errors:
drivers/crypto/virtio/virtio_crypto_algs.c:422:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:422:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:422:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:422:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:422:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
drivers/crypto/virtio/virtio_crypto_algs.c:422:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??
./include/linux/kernel.h:870:2: error: first argument to â??__builtin_choose_exprâ?? not a constant

v4.14.182: Build failed! Errors:
drivers/crypto/virtio/virtio_crypto_algs.c:409:35: error: â??struct ablkcipher_requestâ?? has no member named â??cryptlenâ??


NOTE: The patch will not be queued to stable trees until it is upstream.

How should we proceed with this patch?

--
Thanks
Sasha