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>
Showing
- drivers/crypto/cavium/cpt/cptvf_algs.c 5 additions, 4 deletionsdrivers/crypto/cavium/cpt/cptvf_algs.c
- drivers/crypto/cavium/cpt/cptvf_reqmanager.c 5 additions, 7 deletionsdrivers/crypto/cavium/cpt/cptvf_reqmanager.c
- drivers/crypto/cavium/cpt/request_manager.h 12 additions, 12 deletionsdrivers/crypto/cavium/cpt/request_manager.h
Please register or sign in to comment