• Horia Geant?'s avatar
    crypto: talitos - static code checker fixes · 42e8b0d7
    Horia Geant? authored
    -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: default avatarHoria Geanta <horia.geanta@freescale.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    42e8b0d7
talitos.c 88.1 KB