Re: [PATCH] exfat: implement swap activate
From: kernel test robot
Date: Tue Jun 23 2026 - 22:55:43 EST
Hi Andrea,
kernel test robot noticed the following build errors:
[auto build test ERROR on e771677c937da5808f7b6c1f0e4a97ec1a84f8a8]
url: https://github.com/intel-lab-lkp/linux/commits/Andrea-Cervesato/exfat-implement-swap-activate/20260622-172327
base: e771677c937da5808f7b6c1f0e4a97ec1a84f8a8
patch link: https://lore.kernel.org/r/20260618-exfat_swap_activate-v1-1-4c6a465df295%40suse.com
patch subject: [PATCH] exfat: implement swap activate
config: microblaze-allyesconfig (https://download.01.org/0day-ci/archive/20260624/202606241018.4N100hSQ-lkp@xxxxxxxxx/config)
compiler: microblaze-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260624/202606241018.4N100hSQ-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202606241018.4N100hSQ-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
fs/exfat/inode.c: In function 'exfat_swap_activate':
>> fs/exfat/inode.c:556:16: error: implicit declaration of function 'generic_swapfile_activate' [-Wimplicit-function-declaration]
556 | return generic_swapfile_activate(sis, file, span);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
vim +/generic_swapfile_activate +556 fs/exfat/inode.c
537
538 static int exfat_swap_activate(struct swap_info_struct *sis,
539 struct file *file, sector_t *span)
540 {
541 struct inode *inode = file_inode(file);
542 struct exfat_inode_info *ei = EXFAT_I(inode);
543 int ret;
544
545 /*
546 * exfat's fallocate allocates clusters without updating valid_size,
547 * leaving them invisible to bmap(). Extend valid_size to i_size so
548 * that generic_swapfile_activate() can map all blocks.
549 */
550 if (ei->valid_size < i_size_read(inode)) {
551 ret = exfat_extend_valid_size(inode, i_size_read(inode));
552 if (ret)
553 return ret;
554 }
555
> 556 return generic_swapfile_activate(sis, file, span);
557 }
558
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki