diff options
| author | Ben Dooks <ben.dooks@codethink.co.uk> | 2026-06-22 16:03:22 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2026-08-19 06:38:44 -0400 |
| commit | 8634a92ee595d16f12e08ebd24d637b99f78b6fd (patch) | |
| tree | 9e4f6f9d9deb956e09eaaefdde5d5266c02d0f94 /include | |
| parent | f77a956f6a19f9463ef1527c9d0cda50dded6b92 (diff) | |
| download | linux-8634a92ee595d16f12e08ebd24d637b99f78b6fd.tar.gz linux-8634a92ee595d16f12e08ebd24d637b99f78b6fd.zip | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
