forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
I cannot compile correctly the divers on the latest kernel, i got this error :
drivers/net/ethernet/nuvoton/nuvoton-emc.c:769:9: error: implicit declaration of function 'strlcpy'; did you mean 'strscpy'? [-Werror=implicit-function-declaration]
strlcpy seem to be deprecated https://www.kernel.org/doc/html/v6.8-rc4/process/deprecated.html#strlcpy and need to be replace by strscpy.
linux/drivers/net/ethernet/nuvoton/nuvoton-emc.c
Lines 853 to 854 in bb0c5b8
| strlcpy(info->driver, DRV_MODULE_NAME, sizeof(info->driver)); | |
| strlcpy(info->version, DRV_MODULE_VERSION, sizeof(info->version)); |
EDIT: I also got an issue when udhcpc set ip's :
[ 37.040000] nuvoton-emc b0003000.ethernet eth1: NCSI: No channel found to configure!
[ 38.080000] nuvoton-emc b0003000.ethernet eth1: Wrong NCSI state 0x100 in workqueue
No IPv4 is set, only IPv6 work.
Metadata
Metadata
Assignees
Labels
No labels