mirror of https://gitee.com/openkylin/linux.git
9p: fix format warning
This patch fixes a format warning which appears on 64-bit builds. Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
This commit is contained in:
parent
0b15a3a528
commit
ea2e7996fc
|
@ -178,7 +178,7 @@ v9fs_file_read(struct file *filp, char __user *udata, size_t count,
|
|||
int ret;
|
||||
struct p9_fid *fid;
|
||||
|
||||
P9_DPRINTK(P9_DEBUG_VFS, "count %d offset %lld\n", count, *offset);
|
||||
P9_DPRINTK(P9_DEBUG_VFS, "count %zu offset %lld\n", count, *offset);
|
||||
fid = filp->private_data;
|
||||
|
||||
if (count > (fid->clnt->msize - P9_IOHDRSZ))
|
||||
|
|
Loading…
Reference in New Issue