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

[Xen-changelog] [linux-2.6.18-xen] netfront: Fix build failure after previous changeset



# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1286877800 -3600
# Node ID 7fcbbb8c828503ae31a4a568c68d491dd8e0fe14
# Parent  578f036ec7dd46f2182849dce3757c709bc9883d
netfront: Fix build failure after previous changeset

From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxx>
Acked-by: Jan Beulich <jbeulich@xxxxxxxxxx>
---
 drivers/xen/netfront/netfront.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 578f036ec7dd -r 7fcbbb8c8285 drivers/xen/netfront/netfront.c
--- a/drivers/xen/netfront/netfront.c   Mon Oct 11 10:25:55 2010 +0100
+++ b/drivers/xen/netfront/netfront.c   Tue Oct 12 11:03:20 2010 +0100
@@ -1776,7 +1776,7 @@ static void netfront_get_drvinfo(struct 
                                 struct ethtool_drvinfo *info)
 {
        strcpy(info->driver, "netfront");
-       strcpy(info->bus_info, dev_name(dev->dev.parent));
+       strcpy(info->bus_info, dev->class_dev.dev->bus_id);
 }
 
 static int network_connect(struct net_device *dev)

_______________________________________________
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®.