Re: [PATCH v6] PM: Support aborting sleep during filesystem sync

From: kernel test robot

Date: Fri Oct 31 2025 - 08:43:24 EST


Hi Samuel,

kernel test robot noticed the following build errors:

[auto build test ERROR on rafael-pm/linux-next]
[also build test ERROR on rafael-pm/bleeding-edge linus/master v6.18-rc3 next-20251031]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/Samuel-Wu/PM-Support-aborting-sleep-during-filesystem-sync/20251031-050330
base: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git linux-next
patch link: https://lore.kernel.org/r/20251030210110.298612-1-wusamuel%40google.com
patch subject: [PATCH v6] PM: Support aborting sleep during filesystem sync
config: arm64-randconfig-r061-20251031 (https://download.01.org/0day-ci/archive/20251031/202510312048.Ylb5GU76-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 15.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251031/202510312048.Ylb5GU76-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/202510312048.Ylb5GU76-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

kernel/power/main.c: In function 'pm_init':
>> kernel/power/main.c:1159:17: error: implicit declaration of function 'pm_start_fs_sync_workqueue'; did you mean 'pm_start_workqueue'? [-Wimplicit-function-declaration]
1159 | error = pm_start_fs_sync_workqueue();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| pm_start_workqueue


vim +1159 kernel/power/main.c

1153
1154 static int __init pm_init(void)
1155 {
1156 int error = pm_start_workqueue();
1157 if (error)
1158 return error;
> 1159 error = pm_start_fs_sync_workqueue();
1160 if (error)
1161 return error;
1162 hibernate_image_size_init();
1163 hibernate_reserved_size_init();
1164 pm_states_init();
1165 power_kobj = kobject_create_and_add("power", NULL);
1166 if (!power_kobj)
1167 return -ENOMEM;
1168 error = sysfs_create_groups(power_kobj, attr_groups);
1169 if (error)
1170 return error;
1171 pm_print_times_init();
1172 return pm_autosleep_init();
1173 }
1174

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