tree: https://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git orangefs-untested head: 8af48090ac7697cc4380ea11c2c655d489d0baeb commit: 302811d9e645fcbcc097bce22709bf51d3470d50 [9/10] orangefs: make wait_for_...downcall() static config: x86_64-randconfig-x012-01201142 (attached as .config) reproduce: git checkout 302811d9e645fcbcc097bce22709bf51d3470d50 # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): fs/orangefs/waitqueue.c: In function 'service_operation': >> fs/orangefs/waitqueue.c:168:9: error: implicit declaration of function 'wait_for_cancellation_downcall' [-Werror=implicit-function-declaration] ret = wait_for_cancellation_downcall(op); ^ >> fs/orangefs/waitqueue.c:170:9: error: implicit declaration of function 'wait_for_matching_downcall' [-Werror=implicit-function-declaration] ret = wait_for_matching_downcall(op); ^ fs/orangefs/waitqueue.c: At top level: >> fs/orangefs/waitqueue.c:385:12: error: static declaration of 'wait_for_matching_downcall' follows non-static declaration static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) ^ fs/orangefs/waitqueue.c:170:9: note: previous implicit declaration of 'wait_for_matching_downcall' was here ret = wait_for_matching_downcall(op); ^ >> fs/orangefs/waitqueue.c:491:12: error: static declaration of 'wait_for_cancellation_downcall' follows non-static declaration static int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op) ^ fs/orangefs/waitqueue.c:168:9: note: previous implicit declaration of 'wait_for_cancellation_downcall' was here ret = wait_for_cancellation_downcall(op); ^ fs/orangefs/waitqueue.c:385:12: warning: 'wait_for_matching_downcall' defined but not used [-Wunused-function] static int wait_for_matching_downcall(struct orangefs_kernel_op_s *op) ^ fs/orangefs/waitqueue.c:491:12: warning: 'wait_for_cancellation_downcall' defined but not used [-Wunused-function] static int wait_for_cancellation_downcall(struct orangefs_kernel_op_s *op) ^ cc1: some warnings being treated as errors vim +/wait_for_cancellation_downcall +168 fs/orangefs/waitqueue.c 1182fca3 Mike Marshall 2015-07-17 162 8bb8aefd Yi Liu 2015-11-24 163 if (flags & ORANGEFS_OP_CANCELLATION) { 1182fca3 Mike Marshall 2015-07-17 164 gossip_debug(GOSSIP_WAIT_DEBUG, 1182fca3 Mike Marshall 2015-07-17 165 "%s:" 1182fca3 Mike Marshall 2015-07-17 166 "About to call wait_for_cancellation_downcall.\n", 1182fca3 Mike Marshall 2015-07-17 167 __func__); 1182fca3 Mike Marshall 2015-07-17 @168 ret = wait_for_cancellation_downcall(op); 1182fca3 Mike Marshall 2015-07-17 169 } else { 1182fca3 Mike Marshall 2015-07-17 @170 ret = wait_for_matching_downcall(op); 1182fca3 Mike Marshall 2015-07-17 171 } 1182fca3 Mike Marshall 2015-07-17 172 1182fca3 Mike Marshall 2015-07-17 173 if (ret < 0) { :::::: The code at line 168 was first introduced by commit :::::: 1182fca3bc00441d5b2dee2f0548a3b7f978f9e7 Orangefs: kernel client part 5 :::::: TO: Mike Marshall <hubcap@xxxxxxxxxxxx> :::::: CC: Mike Marshall <hubcap@xxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data