mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 02:24:24 +02: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:
parent
309a4f8ffd
commit
998a59d371
|
|
@ -911,7 +911,7 @@ static int elf_fdpic_map_file(struct elf_fdpic_params *params,
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
dynamic_error:
|
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);
|
what, file_inode(file)->i_ino);
|
||||||
return -ELIBBAD;
|
return -ELIBBAD;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@
|
||||||
|
|
||||||
#ifdef EXT2_XATTR_DEBUG
|
#ifdef EXT2_XATTR_DEBUG
|
||||||
# define ea_idebug(inode, f...) do { \
|
# 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); \
|
inode->i_sb->s_id, inode->i_ino); \
|
||||||
printk(f); \
|
printk(f); \
|
||||||
printk("\n"); \
|
printk("\n"); \
|
||||||
|
|
|
||||||
|
|
@ -1389,7 +1389,7 @@ static int isofs_read_inode(struct inode *inode, int relocated)
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
if((de->flags[-high_sierra] & ~2)!= 0){
|
if((de->flags[-high_sierra] & ~2)!= 0){
|
||||||
printk(KERN_DEBUG "ISOFS: Unusual flag settings for ISO file "
|
printk(KERN_DEBUG "ISOFS: Unusual flag settings for ISO file "
|
||||||
"(%ld %x).\n",
|
"(%llu %x).\n",
|
||||||
inode->i_ino, de->flags[-high_sierra]);
|
inode->i_ino, de->flags[-high_sierra]);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user