running 5.14, received the following when following your instructions:
’ with type ‘void(struct net_device *, const u8 *, size_t)’ {aka ‘void(struct net_device *, const unsigned char *, long unsigned int)’}
4639 | __dev_addr_set(struct net_device *dev, const u8 *addr, size_t len)
| ^~~~~~~~~~~~~~
/opt/vmware/vmware-host-modules/vmnet-only/netif.c:95:13: error: redefinition of ‘dev_addr_set’
95 | static void dev_addr_set(struct net_device *dev, const u8 *addr)
| ^~~~~~~~~~~~
In file included from /opt/vmware/vmware-host-modules/vmnet-only/netif.c:29:
./include/linux/netdevice.h:4644:20: note: previous definition of ‘dev_addr_set’ with type ‘void(struct net_device *, const u8 *)’ {aka ‘void(struct net_device *, const unsigned char *)’}
4644 | static inline void dev_addr_set(struct net_device *dev, const u8 *addr)
| ^~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:271: /opt/vmware/vmware-host-modules/vmnet-only/netif.o] Error 1
make[2]: *** [Makefile:1862: /opt/vmware/vmware-host-modules/vmnet-only] Error 2
make[2]: Leaving directory '/usr/src/kernels/5.14.0-70.17.1.el9_0.x86_64'
make[1]: *** [Makefile:117: vmnet.ko] Error 2
make[1]: Leaving directory '/opt/vmware/vmware-host-modules/vmnet-only'
make: *** [Makefile:21: vmnet-only] Error 2
[root@BobsLinux vmware-host-modules]#