From: Ewan Mellor Subject: Re: [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup Date: Wed, 23 Aug 2006 23:14:01 +0100 Message-ID: <20060823221401.GE9362@leeni.uk.xensource.com> References: <44ECD154.8020902@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <44ECD154.8020902@us.ibm.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Reiner Sailer Cc: xen-devel@lists.xensource.com, Steven Hand List-Id: xen-devel@lists.xenproject.org On Wed, Aug 23, 2006 at 06:06:12PM -0400, Reiner Sailer wrote: > This small patch adds back a closing paranthesis that has gone lost. It > fixes the build for the Xen access control module. > > Signed-off by: Reiner Sailer > > Index: xen-unstable.hg-shype/xen/acm/acm_simple_type_enforcement_hooks.c > =================================================================== > --- xen-unstable.hg-shype.orig/xen/acm/acm_simple_type_enforcement_hooks.c > +++ xen-unstable.hg-shype/xen/acm/acm_simple_type_enforcement_hooks.c > @@ -353,7 +353,7 @@ ste_dump_stats(u8 *buf, u16 buf_len) > stats.ec_cachehit_count = htonl(atomic_read(&ste_bin_pol.ec_cachehit_count)); > stats.gt_cachehit_count = htonl(atomic_read(&ste_bin_pol.gt_cachehit_count)); > > - if (buf_len < sizeof(struct acm_ste_stats_buffer) > + if (buf_len < sizeof(struct acm_ste_stats_buffer)) > return -ENOMEM; > > memcpy(buf, &stats, sizeof(struct acm_ste_stats_buffer)); Applied, thanks. Ewan.