linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the xen-two tree
@ 2012-11-29  3:25 Stephen Rothwell
  2012-11-29 14:05 ` Konrad Rzeszutek Wilk
  2012-11-29 14:32 ` [PATCH] xen PVonHVM: fix compile warning in init_hvm_pv_info Olaf Hering
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Rothwell @ 2012-11-29  3:25 UTC (permalink / raw)
  To: Konrad Rzeszutek Wilk; +Cc: linux-next, linux-kernel, Olaf Hering

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

Hi Konrad,

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").

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux-next: build warning after merge of the xen-two tree
  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 ` [PATCH] xen PVonHVM: fix compile warning in init_hvm_pv_info Olaf Hering
  1 sibling, 0 replies; 3+ messages in thread
From: Konrad Rzeszutek Wilk @ 2012-11-29 14:05 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, linux-kernel, Olaf Hering

On Thu, Nov 29, 2012 at 02:25:30PM +1100, Stephen Rothwell wrote:
> Hi Konrad,
> 
> 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").

Olaf, could you send me a patch to fix that pls?

> 
> -- 
> Cheers,
> Stephen Rothwell                    sfr@canb.auug.org.au

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] xen PVonHVM: fix compile warning in init_hvm_pv_info
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Olaf Hering @ 2012-11-29 14:32 UTC (permalink / raw)
  To: sfr, konrad.wilk; +Cc: linux-kernel, linux-next, Olaf Hering

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-29 14:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH] xen PVonHVM: fix compile warning in init_hvm_pv_info Olaf Hering

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).