From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932848AbdDSBcI (ORCPT ); Tue, 18 Apr 2017 21:32:08 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:38001 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757455AbdDSBcD (ORCPT ); Tue, 18 Apr 2017 21:32:03 -0400 Date: Tue, 18 Apr 2017 18:31:58 -0700 From: "Paul E. McKenney" To: kbuild test robot Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org Subject: Re: [rcu:rcu/next 29/29] kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' Reply-To: paulmck@linux.vnet.ibm.com References: <201704190947.aktBh3QT%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201704190947.aktBh3QT%fengguang.wu@intel.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17041901-0036-0000-0000-000001E4A367 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006937; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000208; SDB=6.00849383; UDB=6.00419406; IPR=6.00628023; BA=6.00005300; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015092; XFM=3.00000013; UTC=2017-04-19 01:32:00 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17041901-0037-0000-0000-00003FD0F71F Message-Id: <20170419013158.GH3956@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-04-18_21:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1704190013 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 19, 2017 at 09:26:55AM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git rcu/next > head: b4d55cac0a93834e7e79143111a0b8ecea49a630 > commit: b4d55cac0a93834e7e79143111a0b8ecea49a630 [29/29] srcu: Make rcutorture writer stalls print SRCU GP state > config: x86_64-randconfig-x012-201716 (attached as .config) > compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 > reproduce: > git checkout b4d55cac0a93834e7e79143111a0b8ecea49a630 > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new ones prefixed by >>): > > kernel/rcu/rcutorture.c: In function 'rcu_torture_stats_print': > >> kernel/rcu/rcutorture.c:1369:3: error: implicit declaration of function 'srcutorture_get_gp_data' [-Werror=implicit-function-declaration] > srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp, > ^~~~~~~~~~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors Yes, I should have used "experimental" as branch name. Apologies for the noise! Thanx, Paul > vim +/srcutorture_get_gp_data +1369 kernel/rcu/rcutorture.c > > 1363 int __maybe_unused flags = 0; > 1364 unsigned long __maybe_unused gpnum = 0; > 1365 unsigned long __maybe_unused completed = 0; > 1366 > 1367 rcutorture_get_gp_data(cur_ops->ttype, > 1368 &flags, &gpnum, &completed); > > 1369 srcutorture_get_gp_data(cur_ops->ttype, srcu_ctlp, > 1370 &flags, &gpnum, &completed); > 1371 wtp = READ_ONCE(writer_task); > 1372 pr_alert("??? Writer stall state %s(%d) g%lu c%lu f%#x ->state %#lx\n", > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation