[PATCH] kni: fix build with Linux 6.10

2024-07-16 Thread Jiri Slaby
should go wherever kni is still in the tree. [1] https://lore.kernel.org/all/CAK7LNAQ47bZpE6c6Yoz-jQS78uU611oZwU8bH+7e=p5zsya...@mail.gmail.com/ Signed-off-by: Jiri Slaby --- kernel/linux/kni/meson.build | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/kernel/linux

[PATCH v3] kni: fix build with Linux 5.18

2022-06-05 Thread Jiri Slaby
there. Cc: sta...@dpdk.org Signed-off-by: Jiri Slaby --- [v3] - reference other patches - switch the #if test expressions to conform to the checker [v2] - forgot to amend the #else/#endif typo fix kernel/linux/kni/compat.h | 4 kernel/linux/kni/kni_net.c | 4 2 files changed, 8

[PATCH v4] kni: fix build with Linux 5.18

2022-06-05 Thread Jiri Slaby
there. Cc: sta...@dpdk.org Signed-off-by: Jiri Slaby --- [v4] - really switch the #if test [v3] - reference other patches - switch the #if test expressions to conform to the checker [v2] - forgot to amend the #else/#endif typo fix kernel/linux/kni/compat.h | 4 kernel/linux/kni/kni_net.c | 4

Re: [PATCH v4] kni: fix build with Linux 5.18

2022-06-07 Thread Jiri Slaby
On 05. 06. 22, 10:22, Andrew Rybchenko wrote: On 6/1/22 09:53, Jiri Slaby wrote: Since commit 2655926aea9b (net: Remove netif_rx_any_context() and netif_rx_ni().) in 5.18, netif_rx_ni() no longer exists as netif_rx() can be called from any context. So define HAVE_NETIF_RX_NI for older releases

[PATCH] kni: fix double #else typo

2022-06-07 Thread Jiri Slaby
Yigit Cc: mingli...@windriver.com, Cc: "Min Hu (Connor)" Cc: Signed-off-by: Jiri Slaby --- kernel/linux/kni/kni_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/linux/kni/kni_net.c b/kernel/linux/kni/kni_net.c index a8b092b7567d..41805fcabf7b 100644 --

[PATCH v2] kni: fix build with Linux 5.18

2022-05-31 Thread Jiri Slaby
: Jiri Slaby --- [v2] - forgot to amend the #else/#endif typo fix kernel/linux/kni/compat.h | 4 kernel/linux/kni/kni_net.c | 4 2 files changed, 8 insertions(+) diff --git a/kernel/linux/kni/compat.h b/kernel/linux/kni/compat.h index 664785674ff1..a81846a8a895 100644 --- a/kernel/linux

[PATCH] kni: fix build with Linux 5.18

2022-05-31 Thread Jiri Slaby
: Jiri Slaby --- kernel/linux/kni/compat.h | 4 kernel/linux/kni/kni_net.c | 4 2 files changed, 8 insertions(+) diff --git a/kernel/linux/kni/compat.h b/kernel/linux/kni/compat.h index 664785674ff1..a81846a8a895 100644 --- a/kernel/linux/kni/compat.h +++ b/kernel/linux/kni/compat.h

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

2024-03-12 Thread Jiri Slaby
’? Intended esp. for stable/22.11. It should go wherever kni is still in the tree. Signed-off-by: Jiri Slaby --- kernel/linux/kni/kni_net.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/linux/kni/kni_net.c b/kernel/linux/kni/kni_net.c index 779ee345..c115a728 100644 --- a

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