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:
Christian Brauner 2026-03-06 10:00:15 +01:00
parent 309a4f8ffd
commit 998a59d371
No known key found for this signature in database
GPG Key ID: 91C61BC06578DCA2
3 changed files with 3 additions and 3 deletions

View File

@ -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;
} }

View File

@ -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"); \

View File

@ -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