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

[PATCH] fix ppc64 nfs warning

Don't assume that dev_t is unsigned.  Cast it.
parent 999eb9ee
...@@ -651,7 +651,7 @@ nfs3_proc_mknod(struct inode *dir, struct qstr *name, struct iattr *sattr, ...@@ -651,7 +651,7 @@ nfs3_proc_mknod(struct inode *dir, struct qstr *name, struct iattr *sattr,
default: return -EINVAL; default: return -EINVAL;
} }
dprintk("NFS call mknod %s %x\n", name->name, rdev); dprintk("NFS call mknod %s %x\n", name->name, (unsigned)rdev);
dir_attr.valid = 0; dir_attr.valid = 0;
fattr->valid = 0; fattr->valid = 0;
status = rpc_call(NFS_CLIENT(dir), NFS3PROC_MKNOD, &arg, &res, 0); status = rpc_call(NFS_CLIENT(dir), NFS3PROC_MKNOD, &arg, &res, 0);
......
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