Re: [PATCH v2] PM / Domains: Call driver's noirq callbacks

From: kbuild test robot
Date: Wed Jun 21 2017 - 10:54:06 EST

Hi Mikko,

[auto build test ERROR on pm/linux-next]
[also build test ERROR on v4.12-rc6 next-20170621]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: linux-next
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 6.3.0-18) 6.3.0 20170516
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sh

All errors (new ones prefixed by >>):

drivers/base/power/domain.c: In function 'pm_genpd_init':
>> drivers/base/power/domain.c:1544:37: error: 'pm_genpd_poweroff_noirq' undeclared (first use in this function)
genpd->domain.ops.poweroff_noirq = pm_genpd_poweroff_noirq;
drivers/base/power/domain.c:1544:37: note: each undeclared identifier is reported only once for each function it appears in

vim +/pm_genpd_poweroff_noirq +1544 drivers/base/power/domain.c

1538 genpd->domain.ops.runtime_resume = genpd_runtime_resume;
1539 genpd->domain.ops.prepare = pm_genpd_prepare;
1540 genpd->domain.ops.suspend_noirq = pm_genpd_suspend_noirq;
1541 genpd->domain.ops.resume_noirq = pm_genpd_resume_noirq;
1542 genpd->domain.ops.freeze_noirq = pm_genpd_freeze_noirq;
1543 genpd->domain.ops.thaw_noirq = pm_genpd_thaw_noirq;
> 1544 genpd->domain.ops.poweroff_noirq = pm_genpd_poweroff_noirq;
1545 genpd->domain.ops.restore_noirq = pm_genpd_restore_noirq;
1546 genpd->domain.ops.complete = pm_genpd_complete;

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip