WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [BUGFIX][ACM] fix build break by adding missing paranthe

To: Reiner Sailer <sailer@xxxxxxxxxx>
Subject: Re: [Xen-devel] [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup
From: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Date: Wed, 23 Aug 2006 23:14:01 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Steven Hand <Steven.Hand@xxxxxxxxxxxx>
Delivery-date: Wed, 23 Aug 2006 15:14:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <44ECD154.8020902@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <44ECD154.8020902@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
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 <sailer@xxxxxxxxxx>
> 

> 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.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>