linux/drivers/crypto/virtio
Ben Dooks 8634a92ee5 crypto: virtio - fix missing le64_to_cpu() conversions
There are two cases of sending a __le64 type to a print function
so fix this by adding le64_to_cpu() which fixes the following
(prototype) sparse warnings:

drivers/crypto/virtio/virtio_crypto_skcipher_algs.c:234:17: warning: incorrect type in argument 3 (different base types)
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c:234:17:    expected unsigned long long
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c:234:17:    got restricted __le64 [usertype] session_id
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c:196:17: warning: incorrect type in argument 3 (different base types)
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c:196:17:    expected unsigned long long
drivers/crypto/virtio/virtio_crypto_akcipher_algs.c:196:17:    got restricted __le64 [usertype] session_id

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Message-ID: <20260622150322.526375-1-ben.dooks@codethink.co.uk>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2026-08-19 06:38:44 -04:00
..
Kconfig virtio-crypto: implement RSA algorithm 2022-03-28 16:52:58 -04:00
Makefile virtio-crypto: rename skcipher algs 2022-03-28 16:52:58 -04:00
virtio_crypto_akcipher_algs.c crypto: virtio - fix missing le64_to_cpu() conversions 2026-08-19 06:38:44 -04:00
virtio_crypto_common.h crypto: virtio - Convert from tasklet to BH workqueue 2026-02-28 12:54:14 +09:00
virtio_crypto_core.c crypto: virtio - Convert from tasklet to BH workqueue 2026-02-28 12:54:14 +09:00
virtio_crypto_mgr.c crypto: virtio - Remove unused virtcrypto functions 2025-06-23 17:00:27 +08:00
virtio_crypto_skcipher_algs.c crypto: virtio - fix missing le64_to_cpu() conversions 2026-08-19 06:38:44 -04:00