diff options
author | Horia Geant? <horia.geanta@freescale.com> | 2015-05-11 20:04:56 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-13 10:31:57 +0800 |
commit | 42e8b0d7fed0628e21ec93e8cd547aef616e68f7 (patch) | |
tree | e004f86bc55d0faa641a7f520df01319bc7e24ae /lib | |
parent | bde9079f3cd5e4275be2169cf7b0c74bfb464f78 (diff) | |
download | linux-42e8b0d7fed0628e21ec93e8cd547aef616e68f7.tar.bz2 |
crypto: talitos - static code checker fixes
-change req_ctx->nbuf from u64 to unsigned int to silence checker
warnings; this is safe since nbuf value is <= HASH_MAX_BLOCK_SIZE
-remove unused value read from TALITOS_CCPSR; there is no requirement
to read upper 32b before reading lower 32b of a 64b register;
SEC RM mentions: "reads can always be done by byte, word, or dword"
-remove unused return value of sg_to_link_tbl()
-change "len" parameter of map_single_talitos_ptr() and
to_talitos_ptr_len() to unsigned int; later, cpu_to_be16 will __force
downcast the value to unsigned short without any checker warning
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions