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]
Message-Id: <200703061041.l26AfwFn019774@shell0.pdx.osdl.net>
Date:	Tue, 06 Mar 2007 02:41:58 -0800
From:	akpm@...ux-foundation.org
To:	jeff@...zik.org
Cc:	netdev@...r.kernel.org, akpm@...ux-foundation.org,
	ricknu-0@...dent.ltu.se, driver-support@...ric7.com
Subject: [patch 14/19] drivers/net/vioc/vioc_driver.c: replace pci_module_init with pci_register_driver

From: Richard Knutsson <ricknu-0@...dent.ltu.se>

Replace pci_module_init with pci_register_driver

Signed-off-by: Richard Knutson <ricknu-0@...dent.ltu.se>
Cc: <support@...ric7.com>
Cc: <driver-support@...ric7.com>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---

 drivers/net/vioc/vioc_driver.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/net/vioc/vioc_driver.c~drivers-net-vioc-vioc_driverc-replace-pci_module_init-with-pci_register_driver drivers/net/vioc/vioc_driver.c
--- a/drivers/net/vioc/vioc_driver.c~drivers-net-vioc-vioc_driverc-replace-pci_module_init-with-pci_register_driver
+++ a/drivers/net/vioc/vioc_driver.c
@@ -841,9 +841,9 @@ static int __init vioc_module_init(void)
 	vioc_irq_init();
 	spp_init();
 
-	ret = pci_module_init(&vioc_driver);
+	ret = pci_register_driver(&vioc_driver);
 	if (ret) {
-		printk(KERN_ERR "%s: pci_module_init() -> %d\n", __FUNCTION__,
+		printk(KERN_ERR "%s: pci_register_driver() -> %d\n", __FUNCTION__,
 		       ret);
 		vioc_irq_exit();
 		return ret;
_
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ