]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/crypto/cavium/cpt/cptvf_reqmanager.c
crypto: cpt - Fix sparse warnings
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 26 Jun 2020 06:06:06 +0000 (16:06 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Jul 2020 04:18:35 +0000 (14:18 +1000)
commitc41494311920c13d359ead4fb10b420d65238689
tree7e805f010dded537c81d7e89e696fcccb38ef4d8
parentf532ed2a9b9eb49a715b9c8eb7056cca296b2392
crypto: cpt - Fix sparse warnings

This patch fixes all the sparse warnings in the octeontx driver.
Some of these are just trivial type changes.

However, some of the changes are non-trivial on little-endian hosts.
Obviously the driver appears to be broken on either LE or BE as it
was doing different things.  I've taken the BE behaviour as the
correct one.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/cavium/cpt/cptvf_algs.c
drivers/crypto/cavium/cpt/cptvf_reqmanager.c
drivers/crypto/cavium/cpt/request_manager.h