lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 7 Jan 2014 09:58:08 -0500
From:	Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
To:	Jim Davis <jim.epost@...il.com>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next@...r.kernel.org, linux-kernel@...r.kernel.org,
	boris.ostrovsky@...cle.com, david.vrabel@...rix.com,
	tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
	x86@...nel.org, xen-devel@...ts.xenproject.org
Subject: Re: randconfig build error with next-20140107, in
 arch/x86/xen/grant-table.c

On Tue, Jan 07, 2014 at 07:03:50AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
> 
> arch/x86/xen/grant-table.c: In function ‘xen_pvh_gnttab_setup’:
> arch/x86/xen/grant-table.c:181:2: error: implicit declaration of
> function ‘xen_pvh_domain’ [-Werror=implicit-function-declaration]
>   if (!xen_pvh_domain())
>   ^
> cc1: some warnings being treated as errors
> make[2]: *** [arch/x86/xen/grant-table.o] Error 1

And this fixes it:

>From dc5fadd89408a562b6b55566af061ad551a03b5c Mon Sep 17 00:00:00 2001
From: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Date: Tue, 7 Jan 2014 09:56:06 -0500
Subject: [PATCH] xen/pvh: Fix compile issues with xen_pvh_domain()

Oddly enough it compiles for my ancient compiler but with
the supplied .config it does blow up. Fix is easy enough.

Reported-by: kbuild test robot <fengguang.wu@...el.com>
Reported-by: Jim Davis <jim.epost@...il.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
---
 arch/x86/xen/grant-table.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/xen/grant-table.c b/arch/x86/xen/grant-table.c
index 2d71979..103c93f 100644
--- a/arch/x86/xen/grant-table.c
+++ b/arch/x86/xen/grant-table.c
@@ -128,6 +128,7 @@ void arch_gnttab_unmap(void *shared, unsigned long nr_gframes)
 #ifdef CONFIG_XEN_PVH
 #include <xen/balloon.h>
 #include <xen/events.h>
+#include <xen/xen.h>
 #include <linux/slab.h>
 static int __init xlated_setup_gnttab_pages(void)
 {
-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ