[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [NET] back: Fix an __init that should be an __exit in loopback driver.



# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxx
# Node ID f8c53e937b30d1826d56f2923db6edd8d6d52e52
# Parent  6b6bfa60707e3411cfdf0c78675ecbd9f2f01a3c
[NET] back: Fix an __init that should be an __exit in loopback driver.

This was pointed out by the newer build system used in 2.6.18-rc4.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/netback/loopback.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 6b6bfa60707e -r f8c53e937b30 
linux-2.6-xen-sparse/drivers/xen/netback/loopback.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/loopback.c       Mon Aug 14 
15:24:59 2006 +0100
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/loopback.c       Mon Aug 14 
15:26:37 2006 +0100
@@ -218,7 +218,7 @@ static int __init make_loopback(int i)
        return err;
 }
 
-static void __init clean_loopback(int i)
+static void __exit clean_loopback(int i)
 {
        struct net_device *dev1, *dev2;
        char dev_name[IFNAMSIZ];

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.