Messages in this thread Patch in this message | | | Date | Thu, 23 Mar 2006 17:20:08 +0000 (GMT) | From | Anton Altaparmakov <> | Subject | [PATCH 01/14] NTFS: Fix two compiler warnings on Alpha. |
| |
NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for reporting them.
Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
---
Best regards,
Anton -- Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @) Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
fs/ntfs/dir.c | 2 +- fs/ntfs/file.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-)
bb8047d3540affd6b8c2adac3fe792e07143be0f diff --git a/fs/ntfs/dir.c b/fs/ntfs/dir.c index b0690d4..9d9ed3f 100644 --- a/fs/ntfs/dir.c +++ b/fs/ntfs/dir.c @@ -1136,7 +1136,7 @@ static int ntfs_readdir(struct file *fil 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) diff --git a/fs/ntfs/file.c b/fs/ntfs/file.c index 5027d3d..2e5ba0c 100644 --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c @@ -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; -- 1.2.3.g9821 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |