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:	Thu, 31 May 2007 11:56:37 -0400
From:	Prarit Bhargava <prarit@...hat.com>
To:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	axboe@...nel.dk, clameter@....com, tony.luck@...el.com,
	randy.dunlap@...cle.com, dgc@....com, sam@...nborg.org
Cc:	Prarit Bhargava <prarit@...hat.com>
Subject: [PATCH]: -mm tree remove __exit from loop_exit

Andrew, please patch ASAP as compile on SGI ia64 is broken.  Please note this
patch does not address why modpost did not pick up this error.

ie) ./scripts/mod/modpost drivers/block/built-in.o yields no information about
the section mismatch.  AFAIK, it should spit out a loud WARNING.

Patch against 2.6.22-rc3-mm1.

Current mm tree does not build with sn2_defconfig.  Build results in error:

`.exit.text' referenced in section `.init.text' of drivers/built-in.o: defined in discarded section `.exit.text' of drivers/built-in.o
make: *** [.tmp_vmlinux1] Error 1

__exit loop_exit is now being called from __init loop_init which causes this error.

Signed-off-by: Prarit Bhargava <prarit@...hat.com>

--- linux/drivers/block/loop.c.orig	2007-05-31 11:15:21.000000000 -0400
+++ linux/drivers/block/loop.c	2007-05-31 11:11:05.000000000 -0400
@@ -1456,7 +1456,7 @@ static struct kobject *loop_probe(dev_t 
 	return kobj;
 }
 
-static void __exit loop_exit(void)
+static void loop_exit(void)
 {
 	unsigned long range;
 	struct loop_device *lo, *next;
-
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