tree: https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git bleeding-edge head: 91fa6cb3c35bb4f4f3eaf6422c155461cbad6386 commit: 4615a22a7ae1ad99c2649c9e0e58ec25130179a9 [28829/28830] PM / timekeeping: Print debug messages when requested config: x86_64-randconfig-x006-201729 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 4615a22a7ae1ad99c2649c9e0e58ec25130179a9 # save the attached .config to linux build tree make ARCH=x86_64 All error/warnings (new ones prefixed by >>): In file included from drivers/base//power/main.c:32:0: include/linux/suspend.h:505:0: warning: "pm_pr_dbg" redefined #define pm_pr_dbg(fmt, ...) \ include/linux/suspend.h:501:0: note: this is the location of the previous definition #define pm_pr_dbg(defer, fmt, ...) \ drivers/base//power/main.c: In function 'dpm_show_time': >> include/linux/suspend.h:506:2: error: implicit declaration of function '__pm_pr_dbg' [-Werror=implicit-function-declaration] __pm_pr_dbg(false, fmt, ##__VA_ARGS__) ^ >> drivers/base//power/main.c:435:2: note: in expansion of macro 'pm_pr_dbg' pm_pr_dbg("%s%s%s of devices complete after %ld.%03ld msecs\n", ^~~~~~~~~ cc1: some warnings being treated as errors -- In file included from kernel//power/suspend.c:26:0: include/linux/suspend.h:505:0: warning: "pm_pr_dbg" redefined #define pm_pr_dbg(fmt, ...) \ include/linux/suspend.h:501:0: note: this is the location of the previous definition #define pm_pr_dbg(defer, fmt, ...) \ kernel//power/suspend.c: In function 's2idle_loop': >> include/linux/suspend.h:506:2: error: implicit declaration of function '__pm_pr_dbg' [-Werror=implicit-function-declaration] __pm_pr_dbg(false, fmt, ##__VA_ARGS__) ^ >> kernel//power/suspend.c:109:2: note: in expansion of macro 'pm_pr_dbg' pm_pr_dbg("suspend-to-idle\n"); ^~~~~~~~~ cc1: some warnings being treated as errors -- In file included from kernel//time/timekeeping_debug.c:22:0: include/linux/suspend.h:505:0: warning: "pm_pr_dbg" redefined #define pm_pr_dbg(fmt, ...) \ include/linux/suspend.h:501:0: note: this is the location of the previous definition #define pm_pr_dbg(defer, fmt, ...) \ kernel//time/timekeeping_debug.c: In function 'tk_debug_account_sleep_time': include/linux/suspend.h:509:2: error: implicit declaration of function '__pm_pr_dbg' [-Werror=implicit-function-declaration] __pm_pr_dbg(true, fmt, ##__VA_ARGS__) ^ >> kernel//time/timekeeping_debug.c:79:2: note: in expansion of macro 'pm_deferred_pr_dbg' pm_deferred_pr_dbg("Timekeeping suspended for %lld.%03lu seconds\n", ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors -- In file included from drivers/base/power/main.c:32:0: include/linux/suspend.h:505:0: warning: "pm_pr_dbg" redefined #define pm_pr_dbg(fmt, ...) \ include/linux/suspend.h:501:0: note: this is the location of the previous definition #define pm_pr_dbg(defer, fmt, ...) \ drivers/base/power/main.c: In function 'dpm_show_time': >> include/linux/suspend.h:506:2: error: implicit declaration of function '__pm_pr_dbg' [-Werror=implicit-function-declaration] __pm_pr_dbg(false, fmt, ##__VA_ARGS__) ^ drivers/base/power/main.c:435:2: note: in expansion of macro 'pm_pr_dbg' pm_pr_dbg("%s%s%s of devices complete after %ld.%03ld msecs\n", ^~~~~~~~~ cc1: some warnings being treated as errors -- In file included from kernel/power/suspend.c:26:0: include/linux/suspend.h:505:0: warning: "pm_pr_dbg" redefined #define pm_pr_dbg(fmt, ...) \ include/linux/suspend.h:501:0: note: this is the location of the previous definition #define pm_pr_dbg(defer, fmt, ...) \ kernel/power/suspend.c: In function 's2idle_loop': >> include/linux/suspend.h:506:2: error: implicit declaration of function '__pm_pr_dbg' [-Werror=implicit-function-declaration] __pm_pr_dbg(false, fmt, ##__VA_ARGS__) ^ kernel/power/suspend.c:109:2: note: in expansion of macro 'pm_pr_dbg' pm_pr_dbg("suspend-to-idle\n"); ^~~~~~~~~ cc1: some warnings being treated as errors vim +/__pm_pr_dbg +506 include/linux/suspend.h 504 > 505 #define pm_pr_dbg(fmt, ...) \ > 506 __pm_pr_dbg(false, fmt, ##__VA_ARGS__) 507 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip