From: Andrew Morton security/evm/evm_crypto.c: In function 'evm_init_integrity': security/evm/evm_crypto.c:187: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' Cc: Kylene Hall Cc: Mimi Zohar Signed-off-by: Andrew Morton --- security/evm/evm_crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN security/evm/evm_crypto.c~integrity-evm-as-an-integrity-service-provider-tidy-fix-2 security/evm/evm_crypto.c --- a/security/evm/evm_crypto.c~integrity-evm-as-an-integrity-service-provider-tidy-fix-2 +++ a/security/evm/evm_crypto.c @@ -184,7 +184,7 @@ int evm_init_integrity(struct inode *ino return -ENOMEM; } memcpy(xattr_value, value, len); - dprintk(EVM_CRYPTO, "%s: (%s) included (%d)\n", + dprintk(EVM_CRYPTO, "%s: (%s) included (%zd)\n", __FUNCTION__, config_p->xattr_name, len); sg[0].page = virt_to_page(xattr_value); sg[0].offset = ((long)xattr_value & ~PAGE_MASK); _