From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879AbbIBI54 (ORCPT ); Wed, 2 Sep 2015 04:57:56 -0400 Received: from mail-pa0-f44.google.com ([209.85.220.44]:33609 "EHLO mail-pa0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752006AbbIBI5y (ORCPT ); Wed, 2 Sep 2015 04:57:54 -0400 Subject: Re: [PATCH] irqchip/gicv3-its: comfort build warnings To: Marc Zyngier , Thomas Gleixner , Jason Cooper , open@foss.arm.com, "list@foss.arm.comIRQCHIP DRIVERS" References: <1441170974-5547-1-git-send-email-alex.shi@linaro.org> <55E6AACD.3070904@arm.com> From: Alex Shi Message-ID: <55E6BA0E.3000405@linaro.org> Date: Wed, 2 Sep 2015 16:57:50 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <55E6AACD.3070904@arm.com> 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 On 09/02/2015 03:52 PM, Marc Zyngier wrote: > On 02/09/15 06:16, Alex Shi wrote: >> There are some warnings in gicv3-its. >> It looks like they are set in its_lpi_alloc_chunks(), but >> in fact, both of them(lpi_base/nr_lpis) still have some chances >> as unset variables. Anyway to comfort gcc if it's not a issue. > > Which compiler are you using? I'm not seeing these warnings here. aarch64-linux-gnu-gcc (Ubuntu/Linaro 4.8.2-13ubuntu1) 4.8.2 20140110 (prerelease) [ibm/gcc-4_8-branch merged from gcc-4_8-branch, revision 205847] $make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig > > Thanks, > > M. >