tree: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master head: eb0955935e2ae3aa1fc9c34ec684ffe086e81da7 commit: 8cea7b66b821fd914aa26a2af156604f9ef5f709 [109/113] crypto: caam - refactor encryption descriptors generation config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 8cea7b66b821fd914aa26a2af156604f9ef5f709 # save the attached .config to linux build tree make.cross ARCH=arm All warnings (new ones prefixed by >>): drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_aead_null_encap': >> drivers/crypto/caam/caamalg_desc.c:67:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)adata->key, adata->keylen_pad, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_aead_null_decap': drivers/crypto/caam/caamalg_desc.c:143:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)adata->key, adata->keylen_pad, ^ drivers/crypto/caam/caamalg_desc.c: In function 'init_sh_desc_key_aead': drivers/crypto/caam/caamalg_desc.c:228:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)adata->key, adata->keylen_pad, ^ drivers/crypto/caam/caamalg_desc.c:236:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, enckeylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_gcm_encap': drivers/crypto/caam/caamalg_desc.c:539:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_gcm_decap': drivers/crypto/caam/caamalg_desc.c:629:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_rfc4106_encap': drivers/crypto/caam/caamalg_desc.c:705:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_rfc4106_decap': drivers/crypto/caam/caamalg_desc.c:776:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_rfc4543_encap': drivers/crypto/caam/caamalg_desc.c:848:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_rfc4543_decap': drivers/crypto/caam/caamalg_desc.c:918:27: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_ablkcipher_encap': drivers/crypto/caam/caamalg_desc.c:1009:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c:1014:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] u8 *nonce = (u8 *)cdata->key + cdata->keylen; ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_ablkcipher_decap': drivers/crypto/caam/caamalg_desc.c:1074:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c:1079:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] u8 *nonce = (u8 *)cdata->key + cdata->keylen; ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_ablkcipher_givencap': drivers/crypto/caam/caamalg_desc.c:1143:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c:1148:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] u8 *nonce = (u8 *)cdata->key + cdata->keylen; ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_xts_ablkcipher_encap': drivers/crypto/caam/caamalg_desc.c:1219:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ drivers/crypto/caam/caamalg_desc.c: In function 'cnstr_shdsc_xts_ablkcipher_decap': drivers/crypto/caam/caamalg_desc.c:1271:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] append_key_as_imm(desc, (void *)cdata->key, cdata->keylen, ^ vim +67 drivers/crypto/caam/caamalg_desc.c 51 * SHA224, SHA256, SHA384, SHA512} ANDed with OP_ALG_AAI_HMAC_PRECOMP. 52 * @icvsize: integrity check value (ICV) size (truncated or full) 53 * 54 * Note: Requires an MDHA split key. 55 */ 56 void cnstr_shdsc_aead_null_encap(u32 * const desc, struct alginfo *adata, 57 unsigned int icvsize) 58 { 59 u32 *key_jump_cmd, *read_move_cmd, *write_move_cmd; 60 61 init_sh_desc(desc, HDR_SHARE_SERIAL); 62 63 /* Skip if already shared */ 64 key_jump_cmd = append_jump(desc, JUMP_JSL | JUMP_TEST_ALL | 65 JUMP_COND_SHRD); 66 if (adata->key_inline) > 67 append_key_as_imm(desc, (void *)adata->key, adata->keylen_pad, 68 adata->keylen, CLASS_2 | KEY_DEST_MDHA_SPLIT | 69 KEY_ENC); 70 else 71 append_key(desc, adata->key, adata->keylen, CLASS_2 | 72 KEY_DEST_MDHA_SPLIT | KEY_ENC); 73 set_jump_tgt_here(desc, key_jump_cmd); 74 75 /* assoclen + cryptlen = seqinlen */ --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip