From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Smalley Subject: [PATCH] xen/xsm: Fix compilation error Date: Wed, 02 Feb 2011 11:35:02 -0500 Message-ID: <1296664502.26511.6.camel@moss-pluto> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-512ZbSeG1k3EU3L0m7mr" 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 List-Id: xen-devel@lists.xenproject.org --=-512ZbSeG1k3EU3L0m7mr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Fix a compilation error in the XSM code by removing an unused variable. Signed-off-by: Stephen Smalley --- xen/xsm/xsm_policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Stephen Smalley National Security Agency --=-512ZbSeG1k3EU3L0m7mr Content-Disposition: attachment; filename="xen-xsm-compile-fix.patch" Content-Type: text/x-patch; name="xen-xsm-compile-fix.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit diff --git a/xen/xsm/xsm_policy.c b/xen/xsm/xsm_policy.c --- a/xen/xsm/xsm_policy.c +++ b/xen/xsm/xsm_policy.c @@ -32,7 +32,7 @@ module_t *mod = (module_t *)__va(mbi->mods_addr); int rc = 0; u32 *_policy_start; - unsigned long start, _policy_len; + unsigned long _policy_len; /* * Try all modules and see whichever could be the binary policy. --=-512ZbSeG1k3EU3L0m7mr 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 --=-512ZbSeG1k3EU3L0m7mr--