Commit c0951c41 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] cifssmb.c warning fix

On ppc64, __u64 is `unsigned long', so:

fs/cifs/cifssmb.c: In function `CIFSSMBSetFileSize':
fs/cifs/cifssmb.c:2466: warning: long long int format, __u64 arg (arg 2)
parent c6845c0c
......@@ -2463,7 +2463,8 @@ CIFSSMBSetFileSize(const int xid, struct cifsTconInfo *tcon, __u64 size,
int bytes_returned = 0;
__u32 tmp;
cFYI(1, ("SetFileSize (via SetFileInfo) %lld",size));
cFYI(1, ("SetFileSize (via SetFileInfo) %lld",
(long long)size));
rc = smb_init(SMB_COM_TRANSACTION2, 15, tcon, (void **) &pSMB,
(void **) &pSMBr);
if (rc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment