From: "Jan Beulich" Subject: Re: [PATCH] xen/lib: Annotate debugtrace_printk() with a printf compiler __attribute__ Date: Fri, 25 Jul 2014 16:16:52 +0100 Message-ID: <53D29104020000780002617E@mail.emea.novell.com> References: <1406293903-29295-1-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1406293903-29295-1-git-send-email-andrew.cooper3@citrix.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Tim Deegan , Xen-devel List-Id: xen-devel@lists.xenproject.org >>> On 25.07.14 at 15:11, wrote: > And fix up the resulting compilation issue. > > Signed-off-by: Andrew Cooper Reviewed-by: Jan Beulich with a question perhaps more to Tim than to you: > --- a/xen/arch/x86/mm/p2m.c > +++ b/xen/arch/x86/mm/p2m.c > @@ -1807,7 +1807,7 @@ void audit_p2m(struct domain *d, > > P2M_PRINTK("p2m audit complete\n"); > if ( orphans_count | mpbad | pmbad ) > - P2M_PRINTK("p2m audit found %lu orphans\n", orphans); > + P2M_PRINTK("p2m audit found %lu orphans\n", orphans_count); > if ( mpbad | pmbad ) > { > P2M_PRINTK("p2m audit found %lu odd p2m, %lu bad m2p entries\n", Seeing both of the if() conditions - is the first one really usefully or-ing in mpbad and pmbad? Jan