[PATCH stable-22.11] kni: fix build with Linux 6.8

Kevin Traynor ktraynor at redhat.com
Tue Mar 12 11:26:18 CET 2024


On 12/03/2024 08:59, David Marchand wrote:
> Hello Jiri,
> 
> On Tue, Mar 12, 2024 at 9:57 AM Jiri Slaby <jslaby at suse.cz> wrote:
>>
>> strlcpy() was removed in commit d26270061ae6 (string: Remove strlcpy()), use
>> strscpy() instead.
>>
>> The patches fixes this:
>> kernel/linux/kni/kni_net.c: In function ‘kni_get_drvinfo’:
>> kernel/linux/kni/kni_net.c:835:9: error: implicit declaration of function ‘strlcpy’; did you mean ‘strscpy’?
>>
>> Intended esp. for stable/22.11. It should go wherever kni is still in
>> the tree.
> 
> Thanks for the patch.
> 
> Cc: stable and LTS maintainers.
> 
>>
>> Signed-off-by: Jiri Slaby <jslaby at suse.cz>
> 
> 

Thanks Jiri and David. I will take this for 21.11 LTS also.



More information about the stable mailing list