Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* [chao:cleanup 2/2] fs/f2fs/data.c:332:39: error: expression cannot be followed by a postfix '->' operator; add parentheses
@ 2025-09-26  5:48 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-09-26  5:48 UTC (permalink / raw)
  To: Chao Yu; +Cc: llvm, oe-kbuild-all, Chao Yu

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git cleanup
head:   ea458a3f3d672b53286ed7058ba33a95c0713cac
commit: ea458a3f3d672b53286ed7058ba33a95c0713cac [2/2] f2fs: use fscrypt_finalize_bounce_page() for cleanup
config: x86_64-buildonly-randconfig-002-20250926 (https://download.01.org/0day-ci/archive/20250926/202509261311.c1JiZZxU-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/20250926/202509261311.c1JiZZxU-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/202509261311.c1JiZZxU-lkp@intel.com/

All errors (new ones prefixed by >>):

>> fs/f2fs/data.c:332:39: error: expression cannot be followed by a postfix '->' operator; add parentheses
     332 |                 fscrypt_finalize_bounce_page(&&folio->page);
         |                                              ~~~~~~~^
         |                                              (      )
>> fs/f2fs/data.c:332:39: error: member reference base type 'void' is not a structure or union
     332 |                 fscrypt_finalize_bounce_page(&&folio->page);
         |                                              ~~~~~~~^ ~~~~
>> fs/f2fs/data.c:332:34: error: use of undeclared label 'folio'
     332 |                 fscrypt_finalize_bounce_page(&&folio->page);
         |                                                ^
   3 errors generated.


vim +332 fs/f2fs/data.c

   316	
   317	static void f2fs_write_end_io(struct bio *bio)
   318	{
   319		struct f2fs_sb_info *sbi;
   320		struct folio_iter fi;
   321	
   322		iostat_update_and_unbind_ctx(bio);
   323		sbi = bio->bi_private;
   324	
   325		if (time_to_inject(sbi, FAULT_WRITE_IO))
   326			bio->bi_status = BLK_STS_IOERR;
   327	
   328		bio_for_each_folio_all(fi, bio) {
   329			struct folio *folio = fi.folio;
   330			enum count_type type;
   331	
 > 332			fscrypt_finalize_bounce_page(&&folio->page);
   333	

-- 
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:[~2025-09-26  5:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-26  5:48 [chao:cleanup 2/2] fs/f2fs/data.c:332:39: error: expression cannot be followed by a postfix '->' operator; add parentheses 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