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

2024-03-12 Thread Kevin Traynor
On 12/03/2024 10:40, Jiri Slaby wrote: > On 12. 03. 24, 11:26, Kevin Traynor wrote: >> On 12/03/2024 08:59, David Marchand wrote: >>> Hello Jiri, >>> >>> On Tue, Mar 12, 2024 at 9:57 AM Jiri Slaby wrote: strlcpy() was removed in commit d26270061ae6 (string: Remove strlcpy()), use >

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

2024-03-12 Thread Jiri Slaby
On 12. 03. 24, 11:26, Kevin Traynor wrote: On 12/03/2024 08:59, David Marchand wrote: Hello Jiri, On Tue, Mar 12, 2024 at 9:57 AM Jiri Slaby wrote: strlcpy() was removed in commit d26270061ae6 (string: Remove strlcpy()), use strscpy() instead. The patches fixes this: kernel/linux/kni/kni_ne

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

2024-03-12 Thread Kevin Traynor
On 12/03/2024 08:59, David Marchand wrote: > Hello Jiri, > > On Tue, Mar 12, 2024 at 9:57 AM Jiri Slaby 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

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

2024-03-12 Thread David Marchand
Hello Jiri, On Tue, Mar 12, 2024 at 9:57 AM Jiri Slaby 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: i

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

2024-03-12 Thread Jiri Slaby
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