From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753153AbcGTBJG (ORCPT ); Tue, 19 Jul 2016 21:09:06 -0400 Received: from mga04.intel.com ([192.55.52.120]:23748 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753054AbcGTBJF (ORCPT ); Tue, 19 Jul 2016 21:09:05 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,391,1464678000"; d="scan'208";a="849575874" Date: Wed, 20 Jul 2016 09:09:01 +0800 From: Fengguang Wu To: Cornelia Huck , "Michael S. Tsirkin" , kbuild-all@01.org, linux-kernel@vger.kernel.org Subject: Re: [kbuild-all] drivers/virtio/virtio_balloon.o: warning: objtool: release_pages_balloon()+0x98: function has unreachable instruction Message-ID: <20160720010901.GI17027@wfg-t540p.sh.intel.com> References: <201607200114.HcVYZBtb%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <201607200114.HcVYZBtb%fengguang.wu@intel.com> User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Cornelia, Michael, Sorry please ignore this one -- it looks like false warning from old gcc 4.4 and 4.6 -- we just enabled old compiler tests triggered thousands of these warnings.. Thanks, Fengguang On Wed, Jul 20, 2016 at 01:33:15AM +0800, kbuild test robot wrote: >tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master >head: 47ef4ad2684d380dd6d596140fb79395115c3950 >commit: 87c9403b0d1de4676b0bd273eea68fcf6de68e68 virtio_balloon: fix PFN format for virtio-1 >date: 8 weeks ago >config: x86_64-randconfig-a0-07191719 (attached as .config) >compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7 >reproduce: > git checkout 87c9403b0d1de4676b0bd273eea68fcf6de68e68 > # save the attached .config to linux build tree > make ARCH=x86_64 > >All warnings (new ones prefixed by >>): > > drivers/virtio/virtio_balloon.c: In function 'update_balloon_stats': > drivers/virtio/virtio_balloon.c:249: warning: 'events[2]' is used uninitialized in this function > drivers/virtio/virtio_balloon.c:251: warning: 'events[3]' is used uninitialized in this function > drivers/virtio/virtio_balloon.c:232: warning: 'events[12]' is used uninitialized in this function > drivers/virtio/virtio_balloon.c:239: note: 'events[12]' was declared here > drivers/virtio/virtio_balloon.c:232: warning: 'events[11]' is used uninitialized in this function > drivers/virtio/virtio_balloon.c:239: note: 'events[11]' was declared here >>> drivers/virtio/virtio_balloon.o: warning: objtool: release_pages_balloon()+0x98: function has unreachable instruction > >--- >0-DAY kernel test infrastructure Open Source Technology Center >https://lists.01.org/pipermail/kbuild-all Intel Corporation >_______________________________________________ >kbuild-all mailing list >kbuild-all@lists.01.org >https://lists.01.org/mailman/listinfo/kbuild-all