[PATCH] uml: Replace all non-returning strlcpy with strscpy
Richard Weinberger
richard at nod.at
Tue May 30 23:23:20 PDT 2023
----- Ursprüngliche Mail -----
>>>> arch/um/os-Linux/drivers/tuntap_user.c:149:17: error: implicit declaration of
>>>> function 'strscpy'; did you mean 'strncpy'?
>>>> [-Werror=implicit-function-declaration]
>> 149 | strscpy(ifr.ifr_name, pri->dev_name,
>> sizeof(ifr.ifr_name));
>> | ^~~~~~~
>> | strncpy
>> cc1: some warnings being treated as errors
>
> Ah, yeah, this is another "not actually in the kernel" cases. Let's ignore this
> strlcpy for now.
Well, actually it's another case of "not even compile tested". :-(
Thanks,
//richard
More information about the linux-um
mailing list