Skip to content

Commit bb8047d

Browse files
NTFS: Fix two compiler warnings on Alpha. Thanks to Andrew Morton for
reporting them. Signed-off-by: Anton Altaparmakov <aia21@cantab.net>
1 parent 1cf3109 commit bb8047d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎fs/ntfs/dir.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ static int ntfs_readdir(struct file *filp, void *dirent, filldir_t filldir)
11361136
if (fpos == 1) {
11371137
ntfs_debug("Calling filldir for .. with len 2, fpos 0x1, "
11381138
"inode 0x%lx, DT_DIR.",
1139-
parent_ino(filp->f_dentry));
1139+
(unsigned long)parent_ino(filp->f_dentry));
11401140
rc = filldir(dirent, "..", 2, fpos,
11411141
parent_ino(filp->f_dentry), DT_DIR);
11421142
if (rc)

‎fs/ntfs/file.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,8 @@ static int ntfs_prepare_pages_for_non_resident_write(struct page **pages,
943943
}
944944
ni->runlist.rl = rl;
945945
status.runlist_merged = 1;
946-
ntfs_debug("Allocated cluster, lcn 0x%llx.", lcn);
946+
ntfs_debug("Allocated cluster, lcn 0x%llx.",
947+
(unsigned long long)lcn);
947948
/* Map and lock the mft record and get the attribute record. */
948949
if (!NInoAttr(ni))
949950
base_ni = ni;

0 commit comments

Comments
 (0)