From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 74218A0543; Tue, 7 Jun 2022 10:14:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B9C8427EE; Tue, 7 Jun 2022 10:14:18 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by mails.dpdk.org (Postfix) with ESMTP id BCBBD40A7F; Mon, 6 Jun 2022 08:06:40 +0200 (CEST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 7EF1921A0C; Mon, 6 Jun 2022 06:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1654495600; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=DMlb3XSPehTljz5//JbPUB4sK8sDW0paThyO10aj+QU=; b=le6TWghHaaWdLiiXckJbSMri73o4gBm4GtNA9eFXTCg9+djIXYMo/0Zf7Job2V88/IHjDS N5ufpynQkMEeLU6DRXuNaxzNOHJ9nk8vaG5WLFQkSbke1DUI0FrCy18piIUHoldzM3nnrX edScIHMORacS0hwrSud1Sl9hqW2Qmxs= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1654495600; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=DMlb3XSPehTljz5//JbPUB4sK8sDW0paThyO10aj+QU=; b=KLRkdFJjS8dtKVaThastRKsGTsxyVvx6+6wkF68rnUOXR3BVC2mmCRq11FXr+o2xI90NOb QMdMCojoOoPjh4BQ== Received: from localhost.localdomain (unknown [10.100.201.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id F3E702C141; Mon, 6 Jun 2022 06:06:39 +0000 (UTC) From: Jiri Slaby To: dev@dpdk.org Cc: Jiri Slaby , Andrew Rybchenko , Stephen Hemminger , Ferruh Yigit , mingli.yu@windriver.com, "Min Hu (Connor)" , stable@dpdk.org Subject: [PATCH] kni: fix double #else typo Date: Mon, 6 Jun 2022 08:06:37 +0200 Message-Id: <20220606060637.10788-1-jslaby@suse.cz> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 07 Jun 2022 10:14:15 +0200 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Cc: Stephen Hemminger Cc: Ferruh Yigit Cc: mingli.yu@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 --- 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