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>] [day] [month] [year] [list]
Date:	Tue, 26 Jun 2007 15:30:18 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	lkml <linux-kernel@...r.kernel.org>
Cc:	p.hardwick@...ion.com, akpm <akpm@...ux-foundation.org>
Subject: [PATCH -mm] nozomi: fix section when HOTPLUG=n

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

When CONFIG_HOTPLUG=n, this function needs to be present instead of
discarded.

WARNING: drivers/built-in.o(.text+0x2045f): Section mismatch: reference to .exit.text:tty_exit (between 'nozomi_card_exit' and 'card_type_show')

Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
---
 drivers/char/nozomi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.22-rc4-mm2.orig/drivers/char/nozomi.c
+++ linux-2.6.22-rc4-mm2/drivers/char/nozomi.c
@@ -1636,7 +1636,7 @@ exit:
 	up(&port->tty_sem);
 }
 
-static void __devexit tty_exit(void)
+static void tty_exit(void)
 {
 	struct nozomi *dc = my_dev;
 	int i, ret;
-
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