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-next>] [day] [month] [year] [list]
Date:	Fri, 25 May 2012 11:11:32 +0300
From:	Felipe Balbi <balbi@...com>
To:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Cc:	Greg KH <gregkh@...uxfoundation.org>, arnd@...db.de,
	svadivu@...com, aneesh@...com,
	Santosh Shilimkar <santosh.shilimkar@...com>,
	Felipe Balbi <balbi@...com>
Subject: [PATCH] misc: emif: fix compilation error

commit 99d3eccf (ARM: OMAP4/5: EMIF: Probe
Emif driver with initcall) introduced a compile
error by not removing module_init() when adding
postcore_initcall().

This problem would've been caught by just compiling
the driver as module.

Fix the issue by removing module_init() from the
driver.

Signed-off-by: Felipe Balbi <balbi@...com>
---
 drivers/misc/emif.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/misc/emif.c b/drivers/misc/emif.c
index 36fda8e..8725ea9 100644
--- a/drivers/misc/emif.c
+++ b/drivers/misc/emif.c
@@ -1663,7 +1663,6 @@ static void __exit emif_unregister(void)
 }
 
 postcore_initcall(emif_register);
-module_init(emif_register);
 module_exit(emif_unregister);
 MODULE_DESCRIPTION("TI EMIF SDRAM Controller Driver");
 MODULE_LICENSE("GPL");
-- 
1.7.10.2

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