DPDK patches and discussions
 help / color / mirror / Atom feed
From: Jiri Slaby <jslaby@suse.cz>
To: dev@dpdk.org
Cc: Jiri Slaby <jslaby@suse.cz>,
	Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>,
	Stephen Hemminger <stephen@networkplumber.org>,
	Ferruh Yigit <ferruh.yigit@intel.com>,
	mingli.yu@windriver.com, "Min Hu (Connor)" <humin29@huawei.com>,
	stable@dpdk.org
Subject: [PATCH] kni: fix double #else typo
Date: Mon,  6 Jun 2022 08:06:37 +0200	[thread overview]
Message-ID: <20220606060637.10788-1-jslaby@suse.cz> (raw)

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 <andrew.rybchenko@oktetlabs.ru>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Cc: Ferruh Yigit <ferruh.yigit@intel.com>
Cc: mingli.yu@windriver.com,
Cc: "Min Hu (Connor)" <humin29@huawei.com>
Cc: <stable@dpdk.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 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


                 reply	other threads:[~2022-06-07  8:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220606060637.10788-1-jslaby@suse.cz \
    --to=jslaby@suse.cz \
    --cc=andrew.rybchenko@oktetlabs.ru \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@intel.com \
    --cc=humin29@huawei.com \
    --cc=mingli.yu@windriver.com \
    --cc=stable@dpdk.org \
    --cc=stephen@networkplumber.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).