Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756647AbbHZJDH (ORCPT ); Wed, 26 Aug 2015 05:03:07 -0400 Received: from mx2.suse.de ([195.135.220.15]:53383 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755863AbbHZJDF (ORCPT ); Wed, 26 Aug 2015 05:03:05 -0400 Subject: Re: Build regressions/improvements in v4.2-rc8 To: Geert Uytterhoeven , "linux-kernel@vger.kernel.org" References: <1440405251-9184-1-git-send-email-geert@linux-m68k.org> Cc: "linuxppc-dev@lists.ozlabs.org" , kvm-ppc@vger.kernel.org From: Alexander Graf Message-ID: <55DD80C6.7030400@suse.de> Date: Wed, 26 Aug 2015 11:03:02 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 31 On 24.08.15 10:36, Geert Uytterhoeven wrote: > On Mon, Aug 24, 2015 at 10:34 AM, Geert Uytterhoeven > wrote: >> JFYI, when comparing v4.2-rc8[1] to v4.2-rc7[3], the summaries are: >> - build errors: +4/-7 > > 4 regressions: > + /home/kisskb/slave/src/include/linux/kvm_host.h: error: array > subscript is above array bounds [-Werror=array-bounds]: => 430:19 > (arch/powerpc/kvm/book3s_64_mmu.c: In function 'kvmppc_mmu > _book3s_64_tlbie':) > > powerpc-randconfig (seen before in a v3.15-rc1 build?) I'm not quite sure what's going wrong here. The code in question does kvm_for_each_vcpu(i, v, vcpu->kvm) kvmppc_mmu_pte_vflush(v, va >> 12, mask); and IIUC the thing we're potentially running over on would be kvm->vcpus[i]. But that one is bound by the kvm_for_each_vcpu loop, no? Alex -- 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/