From: Andrew Morton security/commoncap.c: In function 'set_file_caps': security/commoncap.c:171: warning: format '%d' expects type 'int', but argument 3 has type 'ssize_t' Cc: Serge E. Hallyn Cc: Stephen Smalley Cc: James Morris Cc: Chris Wright Cc: KaiGai Kohei Cc: Chris Friedhoff Signed-off-by: Andrew Morton --- security/commoncap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN security/commoncap.c~security-introduce-file-caps-warning-fix security/commoncap.c --- a/security/commoncap.c~security-introduce-file-caps-warning-fix +++ a/security/commoncap.c @@ -167,7 +167,7 @@ static int set_file_caps(struct linux_bi return 0; if (rc < 0) { - printk(KERN_NOTICE "%s: Error (%d) getting xattr\n", + printk(KERN_NOTICE "%s: Error (%zd) getting xattr\n", __FUNCTION__, rc); return rc; } _