Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753982AbbFDRxO (ORCPT ); Thu, 4 Jun 2015 13:53:14 -0400 Received: from mail-am1on0073.outbound.protection.outlook.com ([157.56.112.73]:48160 "EHLO emea01-am1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753430AbbFDRxN (ORCPT ); Thu, 4 Jun 2015 13:53:13 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=cmetcalf@ezchip.com; Message-ID: <55709072.50009@ezchip.com> Date: Thu, 4 Jun 2015 13:52:50 -0400 From: Chris Metcalf User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: kbuild test robot CC: , open list , Steven Rostedt Subject: Re: [next:master 9165/9394] arch/tile/mm/fault.c:845:1: warning: label 'done' defined but not used References: <201506050049.K4Tzl0SJ%fengguang.wu@intel.com> In-Reply-To: <201506050049.K4Tzl0SJ%fengguang.wu@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [12.216.194.146] X-ClientProxiedBy: CO2PR11CA0036.namprd11.prod.outlook.com (10.141.242.174) To VI1PR02MB0782.eurprd02.prod.outlook.com (25.162.14.144) X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:VI1PR02MB0782; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:VI1PR02MB0782;BCL:0;PCL:0;RULEID:;SRVR:VI1PR02MB0782; X-Forefront-PRVS: 0597911EE1 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(6009001)(24454002)(189002)(199003)(51704005)(479174004)(377454003)(2950100001)(5001960100002)(83506001)(105586002)(47776003)(23746002)(64706001)(54356999)(122386002)(5001860100001)(76176999)(50466002)(62966003)(64126003)(50986999)(106356001)(40100003)(77096005)(77156002)(110136002)(65956001)(5890100001)(189998001)(575784001)(5001830100001)(92566002)(46102003)(4001350100001)(42186005)(15975445007)(65816999)(86362001)(66066001)(101416001)(68736005)(81156007)(4001540100001)(97736004)(65806001)(19580395003)(36756003)(117636001)(87976001)(62816006)(18886065003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR02MB0782;H:[10.7.0.41];FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-OriginatorOrg: ezchip.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jun 2015 17:53:07.8535 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR02MB0782 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1825 Lines: 44 On 06/04/2015 12:24 PM, kbuild test robot wrote: > Hi Chris, > > First bad commit (maybe != root cause): > > tree: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > head: 94feb25d6fcd34b0d45c18cf0185d83d0c13c60a > commit: 41dd496c8d9f622efff2c3b92ee308e13f58f639 [9165/9394] tile: force CONFIG_TILEGX if ARCH != tilepro > config: tile-allnoconfig (attached as .config) > reproduce: > wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > git checkout 41dd496c8d9f622efff2c3b92ee308e13f58f639 > # save the attached .config to linux build tree > make.cross ARCH=tile > > All warnings (new ones prefixed by >>): > > arch/tile/mm/fault.c: In function 'do_page_fault': >>> arch/tile/mm/fault.c:845:1: warning: label 'done' defined but not used [-Wunused-label] > -- >>> kernel/sched/rt.c:64:13: warning: 'push_irq_work_func' declared 'static' but never defined [-Wunused-function] This last warning looks like it comes from commit b6366f048e0c, "sched/rt: Use IPI to trigger RT task push migration instead of pulling". The declaration of push_irq_work_func() should be guarded by HAVE_RT_PUSH_IPI, not CONFIG_SMP. I will fix the first warning by refactoring tile's do_page_fault() more like the way it was done for x86, which avoids complicated ifdefs for the "done" label to only instantiate it based on whether the various code paths that jump to it are ifdef'ed in or not. Thanks! -- Chris Metcalf, EZChip Semiconductor http://www.ezchip.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/