tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git build-test head: 3fd9789833d2e4a4a10ec7cf20b762290ed50b62 commit: 3fd9789833d2e4a4a10ec7cf20b762290ed50b62 [15/15] PM / genpd: Stop/start devices without pm_runtime_force_suspend/resume() config: x86_64-randconfig-x011-201800 (attached as .config) compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025 reproduce: git checkout 3fd9789833d2e4a4a10ec7cf20b762290ed50b62 # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): drivers/base/power/domain.c: In function 'genpd_finish_suspend': >> drivers/base/power/domain.c:1051:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (genpd->dev_ops.stop && genpd->dev_ops.start && ^~ drivers/base/power/domain.c:1054:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (ret) ^~ drivers/base/power/domain.c: At top level: >> drivers/base/power/domain.c:119:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token #define genpd_lock(p) p->lock_ops->lock(p) ^ >> drivers/base/power/domain.c:1058:2: note: in expansion of macro 'genpd_lock' genpd_lock(genpd); ^~~~~~~~~~ drivers/base/power/domain.c:1059:7: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token genpd->suspended_count++; ^~ >> drivers/base/power/domain.c:1060:36: error: expected ')' before numeric constant genpd_sync_power_off(genpd, true, 0); ^ drivers/base/power/domain.c:122:28: error: expected '=', ',', ';', 'asm' or '__attribute__' before '->' token #define genpd_unlock(p) p->lock_ops->unlock(p) ^ >> drivers/base/power/domain.c:1061:2: note: in expansion of macro 'genpd_unlock' genpd_unlock(genpd); ^~~~~~~~~~~~ >> drivers/base/power/domain.c:1063:2: error: expected identifier or '(' before 'return' return 0; ^~~~~~ >> drivers/base/power/domain.c:1064:1: error: expected identifier or '(' before '}' token } ^ drivers/base/power/domain.c: In function 'genpd_restore_noirq': drivers/base/power/domain.c:1141:6: warning: unused variable 'ret' [-Wunused-variable] int ret = 0; ^~~ drivers/base/power/domain.c: In function 'genpd_finish_suspend': >> drivers/base/power/domain.c:1056:2: warning: control reaches end of non-void function [-Wreturn-type] } ^ vim +119 drivers/base/power/domain.c d716f479 Lina Iyer 2016-10-14 118 35241d12 Lina Iyer 2016-10-14 @119 #define genpd_lock(p) p->lock_ops->lock(p) 35241d12 Lina Iyer 2016-10-14 120 #define genpd_lock_nested(p, d) p->lock_ops->lock_nested(p, d) 35241d12 Lina Iyer 2016-10-14 121 #define genpd_lock_interruptible(p) p->lock_ops->lock_interruptible(p) 35241d12 Lina Iyer 2016-10-14 @122 #define genpd_unlock(p) p->lock_ops->unlock(p) 35241d12 Lina Iyer 2016-10-14 123 :::::: The code at line 119 was first introduced by commit :::::: 35241d12f750d2f1556a9c85f175ce7044716881 PM / Domains: Abstract genpd locking :::::: TO: Lina Iyer <lina.iyer@xxxxxxxxxx> :::::: CC: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip