public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Olaf Hering <olaf@aepfle•de>
To: sfr@canb•auug.org.au, konrad.wilk@oracle•com
Cc: linux-kernel@vger•kernel.org, linux-next@vger•kernel.org,
	Olaf Hering <olaf@aepfle•de>
Subject: [PATCH] xen PVonHVM: fix compile warning in init_hvm_pv_info
Date: Thu, 29 Nov 2012 15:32:26 +0100	[thread overview]
Message-ID: <1354199546-25229-1-git-send-email-olaf@aepfle.de> (raw)
In-Reply-To: <20121129142530.37630048cd37048f884b17e9@canb.auug.org.au>

After merging the xen-two tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

arch/x86/xen/enlighten.c: In function 'init_hvm_pv_info':
arch/x86/xen/enlighten.c:1617:16: warning: unused variable 'ebx' [-Wunused-variable]
arch/x86/xen/enlighten.c:1617:11: warning: unused variable 'eax' [-Wunused-variable]

Introduced by commit 9d02b43dee0d ("xen PVonHVM: use E820_Reserved area
for shared_info").

Signed-off-by: Olaf Hering <olaf@aepfle•de>
---
 arch/x86/xen/enlighten.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/xen/enlighten.c b/arch/x86/xen/enlighten.c
index a90c3bb..46156f5 100644
--- a/arch/x86/xen/enlighten.c
+++ b/arch/x86/xen/enlighten.c
@@ -1557,7 +1557,7 @@ static void __init xen_hvm_init_shared_info(void)
 
 static void __init init_hvm_pv_info(void)
 {
-	uint32_t eax, ebx, ecx, edx, pages, msr, base;
+	uint32_t ecx, edx, pages, msr, base;
 	u64 pfn;
 
 	base = xen_cpuid_base();
-- 
1.8.0

      parent reply	other threads:[~2012-11-29 14:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29  3:25 linux-next: build warning after merge of the xen-two tree Stephen Rothwell
2012-11-29 14:05 ` Konrad Rzeszutek Wilk
2012-11-29 14:32 ` Olaf Hering [this message]

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=1354199546-25229-1-git-send-email-olaf@aepfle.de \
    --to=olaf@aepfle$(echo .)de \
    --cc=konrad.wilk@oracle$(echo .)com \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox