]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: octeontx - Fix sparse warnings
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 12 Jun 2020 11:16:22 +0000 (21:16 +1000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jun 2020 07:47:16 +0000 (17:47 +1000)
commit8870afefbfa394b4ed9be388f28a6693589febf3
tree7a8118fd4e6dd5111fcfe545fd530734a29cf293
parent1bb6117f1eb9758e3d8b891d617e061ea94c9d62
crypto: octeontx - 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.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.h
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c
drivers/crypto/marvell/octeontx/otx_cptvf_algs.h
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c
drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.h