From: Andrew Morton fs/ecryptfs/crypto.c: In function 'ecryptfs_read_xattr_region': fs/ecryptfs/crypto.c:1575: warning: format '%d' expects type 'int', but argument 3 has type 'ssize_t' Cc: Michael Halcrow Signed-off-by: Andrew Morton --- fs/ecryptfs/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN fs/ecryptfs/crypto.c~ecryptfs-generalize-metadata-read-write-fix fs/ecryptfs/crypto.c --- a/fs/ecryptfs/crypto.c~ecryptfs-generalize-metadata-read-write-fix +++ a/fs/ecryptfs/crypto.c @@ -1571,7 +1571,7 @@ int ecryptfs_read_xattr_region(char *pag page_virt, ECRYPTFS_DEFAULT_EXTENT_SIZE); if (size < 0) { printk(KERN_DEBUG "Error attempting to read the [%s] " - "xattr from the lower file; return value = [%d]\n", + "xattr from the lower file; return value = [%zd]\n", ECRYPTFS_XATTR_NAME, size); rc = -EINVAL; goto out; _