From 953f4cc46ef1cadfbda2e610e8b7bcc13cceef38 Mon Sep 17 00:00:00 2001 From: Yonghua Yan Date: Thu, 26 Oct 2023 11:50:44 +0800 Subject: [PATCH] Fix compile issue on Kernel version 6.1.25 Fix compile issue on Kernel version 6.1.25 for removed function call. Change-Id: I5ca11de17ec47951e13a0f7ffec4c847f39136ce Signed-off-by: Yonghua Yan Reviewed-on: https://gerrit.mot.com/2777333 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Reviewed-by: Guobin Zhang Tested-by: Jira Key Submit-Approved: Jira Key --- drivers/moto_f_usbnet/f_usbnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/moto_f_usbnet/f_usbnet.c b/drivers/moto_f_usbnet/f_usbnet.c index 4f1b5277eb6e..2131da211a85 100644 --- a/drivers/moto_f_usbnet/f_usbnet.c +++ b/drivers/moto_f_usbnet/f_usbnet.c @@ -621,7 +621,7 @@ static void usb_ether_setup(struct net_device *dev) ether_setup(dev); - random_ether_addr(dev->dev_addr); + eth_random_addr((u8 *)dev->dev_addr); } /*-------------------------------------------------------------------------*/