]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita490661105caa75facb08f73baaca0e2e2150105
tree7e805f010dded537c81d7e89e696fcccb38ef4d8
parentc6cae5c1d01e07d6d5c6ae34e3c97b1484c98ef5
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