Commit c98600d4bed6 (kni: fix build with Linux 5.18), added a new preprocessor sequence: #if ... ... #else ... #else
The latter #else should have been #endif obviously and I forgot to amend that change to the commit above. Fix this. Cc: Andrew Rybchenko <[email protected]> Cc: Stephen Hemminger <[email protected]> Cc: Ferruh Yigit <[email protected]> Cc: [email protected], Cc: "Min Hu (Connor)" <[email protected]> Cc: <[email protected]> Signed-off-by: Jiri Slaby <[email protected]> --- 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 --- a/kernel/linux/kni/kni_net.c +++ b/kernel/linux/kni/kni_net.c @@ -445,7 +445,7 @@ kni_net_rx_normal(struct kni_dev *kni) netif_rx_ni(skb); #else netif_rx(skb); -#else +#endif /* Update statistics */ dev->stats.rx_bytes += len; -- 2.36.1

