[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [BUGFIX][ACM] fix build break by adding missing paranthesis after cleanup
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)); _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |