mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
treewide: fix missed i_ino format specifier conversions
Fix three format strings that were missed in the treewide i_ino unsigned long to u64 conversion: - fs/binfmt_elf_fdpic.c: %lu -> %llu - fs/ext2/xattr.c: %ld -> %llu (debug macro, also fixes signedness) - fs/isofs/inode.c: %ld -> %llu (debug block, also fixes signedness) Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
@@ -911,7 +911,7 @@ static int elf_fdpic_map_file(struct elf_fdpic_params *params,
|
||||
return 0;
|
||||
|
||||
dynamic_error:
|
||||
printk("ELF FDPIC %s with invalid DYNAMIC section (inode=%lu)\n",
|
||||
printk("ELF FDPIC %s with invalid DYNAMIC section (inode=%llu)\n",
|
||||
what, file_inode(file)->i_ino);
|
||||
return -ELIBBAD;
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
#ifdef EXT2_XATTR_DEBUG
|
||||
# define ea_idebug(inode, f...) do { \
|
||||
printk(KERN_DEBUG "inode %s:%ld: ", \
|
||||
printk(KERN_DEBUG "inode %s:%llu: ", \
|
||||
inode->i_sb->s_id, inode->i_ino); \
|
||||
printk(f); \
|
||||
printk("\n"); \
|
||||
|
||||
@@ -1389,7 +1389,7 @@ static int isofs_read_inode(struct inode *inode, int relocated)
|
||||
#ifdef DEBUG
|
||||
if((de->flags[-high_sierra] & ~2)!= 0){
|
||||
printk(KERN_DEBUG "ISOFS: Unusual flag settings for ISO file "
|
||||
"(%ld %x).\n",
|
||||
"(%llu %x).\n",
|
||||
inode->i_ino, de->flags[-high_sierra]);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user