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)
commita05b1c150f5bc0f83313a5e14b94725b5eda5f29
tree7a8118fd4e6dd5111fcfe545fd530734a29cf293
parent864c2d57d691b5308dbb8beca73f8ccb9e183409
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