]> 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)
commit37304270d8f83b0c564f45815c27af9c180785bd
tree7e805f010dded537c81d7e89e696fcccb38ef4d8
parent2ed1b02467aec27947d7089ec1a9212c999f93c6
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