From: Jongman H. <jon...@gm...> - 2010-03-03 04:26:47
|
Hi, I am using Fedora 12 with linus's latest git kernel. commit 3a5b27bf6f29574d667230c7e76e4b83fe3014e0 Merge: 5057bfa 21df20f Author: Linus Torvalds <tor...@li...> Date: Tue Mar 2 10:41:26 2010 -0800 Merge branch 'for-linus' of git://gitorious.org/linux-omap-dss2/linux But open-vm-tools-2010.02.23-236320 build fails on vmxnet driver. Following patch fixes it. please CC me, as I am not on the list. ---------------- [ CUT HERE ] -------------------------- diff --git a/open-vm-tools/modules/linux/vmxnet/vmxnet.c b/open-vm-tools/modules/linux/vmxnet/vmxnet.c index 3c70bc1..50caead 100644 --- a/open-vm-tools/modules/linux/vmxnet/vmxnet.c +++ b/open-vm-tools/modules/linux/vmxnet/vmxnet.c @@ -1002,7 +1002,9 @@ vmxnet_probe_device(struct pci_dev *pdev, // IN: vmxnet PCI device .ndo_stop = &vmxnet_close, .ndo_get_stats = &vmxnet_get_stats, .ndo_set_multicast_list = &vmxnet_set_multicast_list, +# ifdef HAVE_CHANGE_MTU .ndo_change_mtu = &vmxnet_change_mtu, +# endif # ifdef VMW_HAVE_POLL_CONTROLLER .ndo_poll_controller = vmxnet_netpoll, # endif |