public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* fs/ext4/orphan.c:745:6: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long'
@ 2026-04-12  6:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-12  6:29 UTC (permalink / raw)
  To: Ye Bin; +Cc: llvm, oe-kbuild-all, 0day robot

tree:   https://github.com/intel-lab-lkp/linux/commits/Ye-Bin/ext4-register-orphan_list-procfs/20260412-043155
head:   40c8b08a765262ff0c3d84ac9ac0ec5110487e8c
commit: cf76577bfa266ccf03e5c8ab1775327709c32984 ext4: show inode orphan list detail information
date:   10 hours ago
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20260412/202604120805.LcpcTk0i-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260412/202604120805.LcpcTk0i-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604120805.LcpcTk0i-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> fs/ext4/orphan.c:745:6: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' [-Wformat]
     744 |         seq_printf(seq, "%llu\t%u\t%llu\t%llu\t%u\t",
         |                          ~~~~
         |                          %lu
     745 |                    inode->i_ino, inode->i_nlink,
         |                    ^~~~~~~~~~~~
   1 warning generated.


vim +745 fs/ext4/orphan.c

   733	
   734	static int ext4_orphan_seq_show(struct seq_file *seq, void *v)
   735	{
   736		struct inode *inode = v;
   737		struct ext4_proc_orphan *s = seq->private;
   738	
   739		if (s->print_title) {
   740			seq_puts(seq, "INO\tNLINK\tSIZE\tBLOCKS\tPROJID\tPATH\n");
   741			s->print_title = false;
   742		}
   743	
   744		seq_printf(seq, "%llu\t%u\t%llu\t%llu\t%u\t",
 > 745			   inode->i_ino, inode->i_nlink,
   746			   i_size_read(inode), inode->i_blocks,
   747			   __kprojid_val(EXT4_I(inode)->i_projid));
   748	
   749		ext4_show_filename(seq, inode);
   750	
   751		return 0;
   752	}
   753	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-04-12  6:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-12  6:29 fs/ext4/orphan.c:745:6: warning: format specifies type 'unsigned long long' but the argument has type 'unsigned long' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox