diff options
author | Jan Beulich <jbeulich@suse.com> | 2011-12-13 11:36:35 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2011-12-13 11:36:35 +0100 |
commit | dd02b58523c43bf517bb6e9d69b4983068e6b89c (patch) | |
tree | 12e026933e44834dd148f5591783911750d1fe7d /xen/include/xsm | |
parent | fca703871175e50e18cd12f92eebd4b2b25b8c95 (diff) | |
download | xen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.tar.gz xen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.tar.bz2 xen-dd02b58523c43bf517bb6e9d69b4983068e6b89c.zip |
remove the use of -Wno-unused-value
It has been hiding actual mistakes, and there are not too many changes
necessary to make things build without suppressing this warning.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/include/xsm')
-rw-r--r-- | xen/include/xsm/xsm.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xen/include/xsm/xsm.h b/xen/include/xsm/xsm.h index 0afe49f437..ce3b6aa9d5 100644 --- a/xen/include/xsm/xsm.h +++ b/xen/include/xsm/xsm.h @@ -163,7 +163,7 @@ extern struct xsm_operations *xsm_ops; static inline void xsm_security_domaininfo (struct domain *d, struct xen_domctl_getdomaininfo *info) { - xsm_call(security_domaininfo(d, info)); + (void)xsm_call(security_domaininfo(d, info)); } static inline int xsm_setvcpucontext(struct domain *d) @@ -310,7 +310,7 @@ static inline int xsm_evtchn_interdomain (struct domain *d1, static inline void xsm_evtchn_close_post (struct evtchn *chn) { - xsm_call(evtchn_close_post(chn)); + (void)xsm_call(evtchn_close_post(chn)); } static inline int xsm_evtchn_send (struct domain *d, struct evtchn *chn) @@ -366,7 +366,7 @@ static inline int xsm_alloc_security_domain (struct domain *d) static inline void xsm_free_security_domain (struct domain *d) { - xsm_call(free_security_domain(d)); + (void)xsm_call(free_security_domain(d)); } static inline int xsm_alloc_security_evtchn (struct evtchn *chn) @@ -376,7 +376,7 @@ static inline int xsm_alloc_security_evtchn (struct evtchn *chn) static inline void xsm_free_security_evtchn (struct evtchn *chn) { - xsm_call(free_security_evtchn(chn)); + (void)xsm_call(free_security_evtchn(chn)); } static inline int xsm_memory_adjust_reservation (struct domain *d1, struct |