Fix compilation error on kernels < 5.15

pull/1091/head
Carlos Garcés 2023-07-03 18:19:34 +02:00 committed by GitHub
parent 60222a568d
commit 3bcbfe4031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
/* Porting from linux kernel v5.15 48eab831ae8b9f7002a533fa4235eed63ea1f1a3 3f6cffb8604b537e3d7ea040d7f4368689638eaf*/
static inline void eth_hw_addr_set(struct net_device *dev, const u8 *addr)
{
memcpy(dev->dev_addr, addr, ETH_ALEN)
memcpy(dev->dev_addr, addr, ETH_ALEN);
}
#endif