From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reiner Sailer Subject: [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup Date: Wed, 23 Aug 2006 18:06:12 -0400 Message-ID: <44ECD154.8020902@us.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------020307060303030001050108" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Steven Hand List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------020307060303030001050108 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------020307060303030001050108 Content-Type: text/plain; name="acm_cleanup_fix.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="acm_cleanup_fix.diff" 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)); --------------020307060303030001050108 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------020307060303030001050108--