From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mackerras Subject: Re: [PATCH] KVM: PPC: Book3s HV: Fix tlbie compile error Date: Thu, 12 Jun 2014 13:46:05 +1000 Message-ID: <20140612034605.GA14343@drongo> References: <1402499762-34560-1-git-send-email-agraf@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: kvm-ppc@vger.kernel.org, kvm@vger.kernel.org To: Alexander Graf Return-path: Content-Disposition: inline In-Reply-To: <1402499762-34560-1-git-send-email-agraf@suse.de> Sender: kvm-ppc-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, Jun 11, 2014 at 05:16:02PM +0200, Alexander Graf wrote: > Some compilers complain about uninitialized variables in the compute_tlbie_rb > function. When you follow the code path you'll realize that we'll never get > to that point, but the compiler isn't all that smart. > > So just default to 4k page sizes for everything, making the compiler happy > and the code slightly easier to read. > > Signed-off-by: Alexander Graf Acked-by: Paul Mackerras