diff options
| author | Horia Geant? <[email protected]> | 2015-05-11 20:04:56 +0300 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2015-05-13 10:31:57 +0800 |
| commit | 42e8b0d7fed0628e21ec93e8cd547aef616e68f7 (patch) | |
| tree | e004f86bc55d0faa641a7f520df01319bc7e24ae /tools/perf/scripts/python | |
| parent | bde9079f3cd5e4275be2169cf7b0c74bfb464f78 (diff) | |
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 <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions