All of lore.kernel.org
 help / color / mirror / Atom feed
* [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup
@ 2006-08-23 22:06 Reiner Sailer
  2006-08-23 22:14 ` Ewan Mellor
  0 siblings, 1 reply; 2+ messages in thread
From: Reiner Sailer @ 2006-08-23 22:06 UTC (permalink / raw)
  To: xen-devel; +Cc: Steven Hand

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

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@us.ibm.com>


[-- Attachment #2: acm_cleanup_fix.diff --]
[-- Type: text/plain, Size: 712 bytes --]

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));

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup
  2006-08-23 22:06 [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup Reiner Sailer
@ 2006-08-23 22:14 ` Ewan Mellor
  0 siblings, 0 replies; 2+ messages in thread
From: Ewan Mellor @ 2006-08-23 22:14 UTC (permalink / raw)
  To: Reiner Sailer; +Cc: xen-devel, Steven Hand

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@us.ibm.com>
> 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-08-23 22:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-23 22:06 [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup Reiner Sailer
2006-08-23 22:14 ` Ewan Mellor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.