tree: git://git.samba.org/sfrench/cifs-2.6.git for-next head: 29ce9f49d423152ce2defa12b7d558d5f6245eb0 commit: 29ce9f49d423152ce2defa12b7d558d5f6245eb0 [29/29] smb3: add tracepoint for slow responses config: xtensa-allyesconfig (attached as .config) compiler: xtensa-linux-gcc (GCC) 8.1.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout 29ce9f49d423152ce2defa12b7d558d5f6245eb0 # save the attached .config to linux build tree GCC_VERSION=8.1.0 make.cross ARCH=xtensa All errors (new ones prefixed by >>): fs/cifs/transport.c: In function 'DeleteMidQEntry': >> fs/cifs/transport.c:120:3: error: implicit declaration of function 'trace_slow_rsp'; did you mean 'trace_smb3_slow_rsp'? [-Werror=implicit-function-declaration] trace_slow_rsp(le16_to_cpu(midEntry->command), midEntry->mid, ^~~~~~~~~~~~~~ trace_smb3_slow_rsp cc1: some warnings being treated as errors vim +120 fs/cifs/transport.c 100 101 void 102 DeleteMidQEntry(struct mid_q_entry *midEntry) 103 { 104 #ifdef CONFIG_CIFS_STATS2 105 __le16 command = midEntry->server->vals->lock_cmd; 106 unsigned long now; 107 #endif 108 midEntry->mid_state = MID_FREE; 109 atomic_dec(&midCount); 110 if (midEntry->large_buf) 111 cifs_buf_release(midEntry->resp_buf); 112 else 113 cifs_small_buf_release(midEntry->resp_buf); 114 #ifdef CONFIG_CIFS_STATS2 115 now = jiffies; 116 /* commands taking longer than one second are indications that 117 something is wrong, unless it is quite a slow link or server */ 118 if (time_after(now, midEntry->when_alloc + HZ) && 119 (midEntry->command != command)) { > 120 trace_slow_rsp(le16_to_cpu(midEntry->command), midEntry->mid, 121 midEntry->pid, 122 midEntry->when_sent, midEntry->when_received); 123 if (cifsFYI & CIFS_TIMER) { 124 pr_debug(" CIFS slow rsp: cmd %d mid %llu", 125 midEntry->command, midEntry->mid); 126 pr_info(" A: 0x%lx S: 0x%lx R: 0x%lx\n", 127 now - midEntry->when_alloc, 128 now - midEntry->when_sent, 129 now - midEntry->when_received); 130 } 131 } 132 #endif 133 cifs_mid_q_entry_release(midEntry); 134 } 135 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip