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] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 May 2008 09:56:33 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next@...r.kernel.org, dmitry.torokhov@...il.com,
	akpm <akpm@...ux-foundation.org>
Subject: [PATCH linux-next] serio: add ifdef for i8042 build fix

From: Randy Dunlap <randy.dunlap@...cle.com>

Restrict variable usage by bounding it with ifdef/endif CONFIG_PNP.

linux-next-20080529/drivers/input/serio/i8042-x86ia64io.h:590: error: 'i8042_nopnp' undeclared (first use in this function)

Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
 drivers/input/serio/i8042-x86ia64io.h |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20080529.orig/drivers/input/serio/i8042-x86ia64io.h
+++ linux-next-20080529/drivers/input/serio/i8042-x86ia64io.h
@@ -586,9 +586,11 @@ static int __init i8042_platform_init(vo
 	i8042_aux_irq = I8042_MAP_IRQ(12);
 
 #if defined(__i386__) || defined(__x86_64__)
+#ifdef CONFIG_PNP
 	if (dmi_check_system(i8042_dmi_nopnp_table))
 		i8042_nopnp = 1;
 #endif
+#endif
 	retval = i8042_pnp_init();
 	if (retval)
 		return retval;



---
--
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