From: Horia Geant? Date: Mon, 11 May 2015 17:04:56 +0000 (+0300) Subject: crypto: talitos - static code checker fixes X-Git-Tag: omap-for-v4.2/fixes-rc1^2~164^2~184 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42e8b0d7fed0628e21ec93e8cd547aef616e68f7;p=pandora-kernel.git 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 Signed-off-by: Herbert Xu --- Reading git-diff-tree failed