]> err.no Git - linux-2.6/commitdiff
NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for
authorAnton Altaparmakov <aia21@cantab.net>
Tue, 7 Mar 2006 11:53:46 +0000 (11:53 +0000)
committerAnton Altaparmakov <aia21@cantab.net>
Tue, 7 Mar 2006 11:53:46 +0000 (11:53 +0000)
      reporting them.

Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
fs/ntfs/dir.c
fs/ntfs/file.c

index b0690d4c89065f946c706877d7bced88ff399d8e..9d9ed3fe371db95e42428a654a0f73f60996d03c 100644 (file)
@@ -1136,7 +1136,7 @@ static int ntfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
        if (fpos == 1) {
                ntfs_debug("Calling filldir for .. with len 2, fpos 0x1, "
                                "inode 0x%lx, DT_DIR.",
-                               parent_ino(filp->f_dentry));
+                               (unsigned long)parent_ino(filp->f_dentry));
                rc = filldir(dirent, "..", 2, fpos,
                                parent_ino(filp->f_dentry), DT_DIR);
                if (rc)
index 5027d3d1b3fe7dfe78523f667160fb97639ed4cb..2e5ba0c535d9cb8bbc7814fe477c4bc470f16f2b 100644 (file)
@@ -943,7 +943,8 @@ rl_not_mapped_enoent:
                }
                ni->runlist.rl = rl;
                status.runlist_merged = 1;
-               ntfs_debug("Allocated cluster, lcn 0x%llx.", lcn);
+               ntfs_debug("Allocated cluster, lcn 0x%llx.",
+                               (unsigned long long)lcn);
                /* Map and lock the mft record and get the attribute record. */
                if (!NInoAttr(ni))
                        base_ni = ni;