Thread (2 messages) flat view 2 messages, 2 authors, 2006-08-15

Re: [PATCH 1/7] ehea: interface to network stack

From: Heiko Carstens <hidden>
Date: 2006-08-15 07:40:10
Also in: lkml, netdev

+int __init ehea_module_init(void)
+{
+	int ret = -EINVAL;
+
+	EDEB_EN(7, "");
+
+	printk(KERN_INFO "IBM eHEA Ethernet Device Driver (Release %s)\n",
+	       DRV_VERSION);
+
+
+	ret = ibmebus_register_driver(&ehea_driver);
+	if (ret) {
+		EDEB_ERR(4, "Failed registering eHEA device driver on ebus");
+		return -EINVAL;
+	}
+
+	EDEB_EX(7, "");
+	return 0;
+}
Function should be static and could be shortened to the single line

return ibmebus_register_driver(&ehea_driver);

, I guess :)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help