From: Jerone Young <jerone@gmail.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] xen/arch/x86/vm-io passing unintialized variable to function
Date: Tue, 5 Jul 2005 16:47:27 -0500 [thread overview]
Message-ID: <9f50a7a00507051447383d33f3@mail.gmail.com> (raw)
Oh gcc4 ....how you complain soo. This patch fixes compile with gcc4
where an unintialized variable is used in a function.
Signed-off-by: Jerone Young <jerone@gmail.com>
--- xen/arch/x86/vmx_io.c.old 2005-07-05 16:44:01.000000000 -0500
+++ xen/arch/x86/vmx_io.c 2005-07-05 16:44:20.000000000 -0500
@@ -621,7 +621,7 @@ static inline int irq_masked(unsigned lo
void vmx_intr_assist(struct vcpu *v)
{
- int intr_type;
+ int intr_type = 0;
int highest_vector = find_highest_pending_irq(v, &intr_type);
unsigned long intr_fields, eflags, interruptibility, cpu_exec_control;
reply other threads:[~2005-07-05 21:47 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9f50a7a00507051447383d33f3@mail.gmail.com \
--to=jerone@gmail.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.