+ fix-gregkh-driver-network-device.patch added to -mm tree

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

 



The patch titled
     2.6.19-rc4-mm2 iseries net_device compile issue
has been added to the -mm tree.  Its filename is
     fix-gregkh-driver-network-device.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: 2.6.19-rc4-mm2 iseries net_device compile issue
From: Judith Lebzelter <judith@xxxxxxxx>

Hi,

2.6.19-rc4-mm2 has this error for 'powerpc' allmodconfig:

drivers/net/iseries_veth.c: In function 'veth_probe_one':
drivers/net/iseries_veth.c:1103: error: 'struct net_device' has no member named 'class_dev'

This patch fixes the error.

Signed-off-by: Judith Lebzelter <judith@xxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/net/iseries_veth.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/iseries_veth.c~fix-gregkh-driver-network-device drivers/net/iseries_veth.c
--- a/drivers/net/iseries_veth.c~fix-gregkh-driver-network-device
+++ a/drivers/net/iseries_veth.c
@@ -1100,7 +1100,7 @@ static struct net_device * __init veth_p
 	}
 
 	kobject_init(&port->kobject);
-	port->kobject.parent = &dev->class_dev.kobj;
+	port->kobject.parent = &dev->dev.kobj;
 	port->kobject.ktype  = &veth_port_ktype;
 	kobject_set_name(&port->kobject, "veth_port");
 	if (0 != kobject_add(&port->kobject))
_

Patches currently in -mm which might be from judith@xxxxxxxx are

fix-gregkh-driver-network-device.patch
acx1xx-wireless-driver.patch
ia64-fix-allmodconfig-build.patch
use-generic-bug-for-ppc.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux