From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 1/2] introduce gprintk() Date: Tue, 24 Mar 2015 15:12:16 +0000 Message-ID: <55117ED0.30509@linaro.org> References: <550C44F1020000780006C1A5@mail.emea.novell.com> <550C46F0020000780006C1C1@mail.emea.novell.com> <1427206853.21742.402.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YaQVA-0002L5-Q6 for xen-devel@lists.xenproject.org; Tue, 24 Mar 2015 15:12:20 +0000 Received: by wgbcc7 with SMTP id cc7so173560342wgb.0 for ; Tue, 24 Mar 2015 08:12:19 -0700 (PDT) In-Reply-To: <1427206853.21742.402.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , Jan Beulich Cc: Keir Fraser , Stefano Stabellini , Tim Deegan , Ian Jackson , Julien Grall , Andrew Cooper , xen-devel List-Id: xen-devel@lists.xenproject.org Hi Ian, On 24/03/2015 14:20, Ian Campbell wrote: > @@ -1709,7 +1707,6 @@ static void do_cp15_64(struct cpu_user_regs *regs, > break; > default: > { > -#ifndef NDEBUG > struct hsr_cp64 cp64 = hsr.cp64; > > gdprintk(XENLOG_ERR, > @@ -1718,7 +1715,6 @@ static void do_cp15_64(struct cpu_user_regs *regs, > cp64.op1, cp64.reg1, cp64.reg2, cp64.crm, regs->pc); > gdprintk(XENLOG_ERR, "unhandled 64-bit CP15 access %#x\n", > hsr.bits & HSR_CP64_REGS_MASK); > -#endif Did you try to build with debug=n ? I suspect that GCC will warn about the unused cp64. Regards, -- Julien Grall