diff options
author | Horia Geanta <horia.geanta@freescale.com> | 2015-05-08 15:40:22 (GMT) |
---|---|---|
committer | Honghua Yin <Hong-Hua.Yin@freescale.com> | 2015-05-13 08:03:12 (GMT) |
commit | fb45eb098d451ff42c02428d49430f5500ae4a39 (patch) | |
tree | 3d837f027af7dc054d3f6868e1cae59ac1484256 /drivers/dma/sh | |
parent | f11665f4997debcce6f8c7f3c0e7a84d9dcf5bb0 (diff) | |
download | linux-fsl-qoriq-fb45eb098d451ff42c02428d49430f5500ae4a39.tar.xz |
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();
cpu_to_be16 will __force downcast the value to unsigned short
without any checker warning
Change-Id: I2245e6a7f5e7d60d3a86b3b68a76a104ba372530
Signed-off-by: Horia Geanta <horia.geanta@freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/36124
Tested-by: Review Code-CDREVIEW <CDREVIEW@freescale.com>
Reviewed-by: Tudor-Dan Ambarus <tudor.ambarus@freescale.com>
Reviewed-by: Honghua Yin <Hong-Hua.Yin@freescale.com>
Diffstat (limited to 'drivers/dma/sh')
0 files changed, 0 insertions, 0 deletions