[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202510312012.eHtS316T-lkp@intel.com>
Date: Fri, 31 Oct 2025 20:29:46 +0800
From: kernel test robot <lkp@...el.com>
To: Samuel Wu <wusamuel@...gle.com>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>, Pavel Machek <pavel@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Danilo Krummrich <dakr@...nel.org>
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
tuhaowen@...ontech.com, Samuel Wu <wusamuel@...gle.com>,
Saravana Kannan <saravanak@...gle.com>, kernel-team@...roid.com,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6] PM: Support aborting sleep during filesystem sync
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: sparc64-randconfig-002-20251031 (https://download.01.org/0day-ci/archive/20251031/202510312012.eHtS316T-lkp@intel.com/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project d1c086e82af239b245fe8d7832f2753436634990)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251031/202510312012.eHtS316T-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202510312012.eHtS316T-lkp@intel.com/
All errors (new ones prefixed by >>):
>> kernel/power/main.c:1159:10: error: call to undeclared function 'pm_start_fs_sync_workqueue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
1159 | error = pm_start_fs_sync_workqueue();
| ^
kernel/power/main.c:1159:10: note: did you mean 'pm_start_workqueue'?
kernel/power/main.c:1147:19: note: 'pm_start_workqueue' declared here
1147 | static int __init pm_start_workqueue(void)
| ^
1148 | {
1149 | pm_wq = alloc_workqueue("pm", WQ_FREEZABLE | WQ_UNBOUND, 0);
1150 |
1151 | return pm_wq ? 0 : -ENOMEM;
1152 | }
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();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
| pm_start_workqueue
1 error generated.
vim +/pm_start_fs_sync_workqueue +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
Powered by blists - more mailing lists