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

[PATCH] kill some ppc64 warnings in knfsd

Don't assume that dev_t is an unsigned.  Cast it.
parent 8b7ee204
......@@ -606,7 +606,8 @@ exp_export(struct nfsctl_export *nxp)
dprintk("exp_export called for %s:%s (%x/%ld fl %x).\n",
nxp->ex_client, nxp->ex_path,
nxp->ex_dev, (long) nxp->ex_ino, nxp->ex_flags);
(unsigned)nxp->ex_dev, (long)nxp->ex_ino,
nxp->ex_flags);
/* Try to lock the export table for update */
exp_writelock();
......@@ -760,8 +761,8 @@ exp_unexport(struct nfsctl_export *nxp)
expkey_put(&key->h, &svc_expkey_cache);
} else
dprintk("nfsd: no export %x/%lx for %s\n",
nxp->ex_dev, (unsigned long) nxp->ex_ino,
nxp->ex_client);
(unsigned)nxp->ex_dev,
(unsigned long) nxp->ex_ino, nxp->ex_client);
auth_domain_put(dom);
cache_flush();
} else
......
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