]> git.droids-corp.org - dpdk.git/commit
kni: fix build
authorThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jun 2022 10:39:49 +0000 (12:39 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 6 Jun 2022 10:49:51 +0000 (12:49 +0200)
commit327ef5065996356e1a4b77fb93c85737c99bb8fe
tree76e9d92affe76214013582956b223b166e6de98e
parentfb96caa56aabaa425ae66cd638ce9b9065828044
kni: fix build

A previous fix had #else instead of #endif.
The error message is:
kernel/linux/kni/kni_net.c: In function ‘kni_net_rx_normal’:
kernel/linux/kni/kni_net.c:448:2: error: #else after #else

Bugzilla ID: 1025
Fixes: c98600d4bed6 ("kni: fix build with Linux 5.18")
Cc: stable@dpdk.org
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
kernel/linux/kni/kni_net.c