Hi Aya, [auto build test ERROR on staging/staging-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Aya-Mahfouz/Remove-uses-and-definition-of-IS_PO2/20151017-060923 config: i386-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file included from drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs.h:40:0, from drivers/staging/lustre/lnet/selftest/conrpc.c:43: drivers/staging/lustre/lnet/selftest/conrpc.c: In function 'lstcon_rpc_cleanup_wait': >> drivers/staging/lustre/lnet/selftest/selftest.h:588:10: error: implicit declaration of function 'IS_PO2' [-Werror=implicit-function-declaration] CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/linux/libcfs.h:109:25: note: in definition of macro '__CHECK_STACK' (msgdata)->msg_mask = mask; \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:214:2: note: in expansion of macro 'CFS_CHECK_STACK' CFS_CHECK_STACK(&msgdata, mask, cdls); \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:222:35: note: in expansion of macro '__CDEBUG' #define CDEBUG(mask, format, ...) __CDEBUG(NULL, mask, format, ## __VA_ARGS__) ^ >> drivers/staging/lustre/lnet/selftest/selftest.h:588:3: note: in expansion of macro 'CDEBUG' CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ >> drivers/staging/lustre/lnet/selftest/conrpc.c:1359:2: note: in expansion of macro 'lst_wait_until' lst_wait_until((atomic_read(&console_session.ses_rpc_counter) == 0), ^ cc1: some warnings being treated as errors -- In file included from drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs.h:40:0, from drivers/staging/lustre/lnet/selftest/selftest.h:46, from drivers/staging/lustre/lnet/selftest/framework.c:44: drivers/staging/lustre/lnet/selftest/framework.c: In function 'sfw_shutdown': >> drivers/staging/lustre/lnet/selftest/selftest.h:588:10: error: implicit declaration of function 'IS_PO2' [-Werror=implicit-function-declaration] CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/linux/libcfs.h:109:25: note: in definition of macro '__CHECK_STACK' (msgdata)->msg_mask = mask; \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:214:2: note: in expansion of macro 'CFS_CHECK_STACK' CFS_CHECK_STACK(&msgdata, mask, cdls); \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:222:35: note: in expansion of macro '__CDEBUG' #define CDEBUG(mask, format, ...) __CDEBUG(NULL, mask, format, ## __VA_ARGS__) ^ >> drivers/staging/lustre/lnet/selftest/selftest.h:588:3: note: in expansion of macro 'CDEBUG' CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ >> drivers/staging/lustre/lnet/selftest/framework.c:1741:2: note: in expansion of macro 'lst_wait_until' lst_wait_until(sfw_data.fw_active_srpc == NULL, sfw_data.fw_lock, ^ cc1: some warnings being treated as errors -- In file included from drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs.h:40:0, from drivers/staging/lustre/lnet/selftest/selftest.h:46, from drivers/staging/lustre/lnet/selftest/timer.c:43: drivers/staging/lustre/lnet/selftest/timer.c: In function 'stt_shutdown': >> drivers/staging/lustre/lnet/selftest/selftest.h:588:10: error: implicit declaration of function 'IS_PO2' [-Werror=implicit-function-declaration] CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/linux/libcfs.h:109:25: note: in definition of macro '__CHECK_STACK' (msgdata)->msg_mask = mask; \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:214:2: note: in expansion of macro 'CFS_CHECK_STACK' CFS_CHECK_STACK(&msgdata, mask, cdls); \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:222:35: note: in expansion of macro '__CDEBUG' #define CDEBUG(mask, format, ...) __CDEBUG(NULL, mask, format, ## __VA_ARGS__) ^ >> drivers/staging/lustre/lnet/selftest/selftest.h:588:3: note: in expansion of macro 'CDEBUG' CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ >> drivers/staging/lustre/lnet/selftest/timer.c:240:2: note: in expansion of macro 'lst_wait_until' lst_wait_until(stt_data.stt_nthreads == 0, stt_data.stt_lock, ^ cc1: some warnings being treated as errors -- In file included from drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs.h:40:0, from drivers/staging/lustre/lnet/selftest/selftest.h:46, from drivers/staging/lustre/lnet/selftest/rpc.c:47: drivers/staging/lustre/lnet/selftest/rpc.c: In function 'srpc_service_add_buffers': >> drivers/staging/lustre/lnet/selftest/selftest.h:588:10: error: implicit declaration of function 'IS_PO2' [-Werror=implicit-function-declaration] CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/linux/libcfs.h:109:25: note: in definition of macro '__CHECK_STACK' (msgdata)->msg_mask = mask; \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:214:2: note: in expansion of macro 'CFS_CHECK_STACK' CFS_CHECK_STACK(&msgdata, mask, cdls); \ ^ >> drivers/staging/lustre/lnet/selftest/../../include/linux/libcfs/libcfs_debug.h:222:35: note: in expansion of macro '__CDEBUG' #define CDEBUG(mask, format, ...) __CDEBUG(NULL, mask, format, ## __VA_ARGS__) ^ >> drivers/staging/lustre/lnet/selftest/selftest.h:588:3: note: in expansion of macro 'CDEBUG' CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ ^ >> drivers/staging/lustre/lnet/selftest/rpc.c:619:3: note: in expansion of macro 'lst_wait_until' lst_wait_until(scd->scd_buf_err != 0 || ^ cc1: some warnings being treated as errors vim +/IS_PO2 +588 drivers/staging/lustre/lnet/selftest/selftest.h d3caf4d58 Peng Tao 2014-03-18 582 } while (0) d7e09d039 Peng Tao 2013-05-02 583 d7e09d039 Peng Tao 2013-05-02 584 #define lst_wait_until(cond, lock, fmt, ...) \ d7e09d039 Peng Tao 2013-05-02 585 do { \ d7e09d039 Peng Tao 2013-05-02 586 int __I = 2; \ d7e09d039 Peng Tao 2013-05-02 587 while (!(cond)) { \ d7e09d039 Peng Tao 2013-05-02 @588 CDEBUG(IS_PO2(++__I) ? D_WARNING : D_NET, \ d7e09d039 Peng Tao 2013-05-02 589 fmt, ## __VA_ARGS__); \ d7e09d039 Peng Tao 2013-05-02 590 spin_unlock(&(lock)); \ d7e09d039 Peng Tao 2013-05-02 591 \ :::::: The code at line 588 was first introduced by commit :::::: d7e09d0397e84eefbabfd9cb353221f3c6448d83 staging: add Lustre file system client support :::::: TO: Peng Tao <bergwolf@xxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel