From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id DCE2923A for ; Tue, 21 Nov 2017 14:22:03 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 9208A20AAF; Tue, 21 Nov 2017 08:22:03 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:22:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=34Jz4UDuipeRbMkKJ dSU7xpZag+jxNYGiqQg7faOSZQ=; b=iCDopyS/tafPK5WWesnaIqb7qFwI8JJBB r1FngGgcmfaiq+/Z6YfJF8JY7dkHl6XRC8EvBV8+pdOO0Nvqwyxem+C0yppMGnJq UuDOP5WGzPRjpQ5wRKghaQ/mGCsPwgy9/lp4i4uk0PGvXCmggJPgk/qJwbdebtQA CCNYGFoWl6piHoA+mPvXgkqolq0/gesZTHp4r6g2Iqo1DYAdKXkp69nAwQMpFcSU GzRUTqTE00QUhKHBimqkXyslBUt3Y47Aysup/VNIIxqR23Jnzeq9K4LKO6DXdG5X IyuJeqrnUOGJRIuzr/2bV2+lStvQgIX56ThI5xkhpm3OqCRdozQJQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=34Jz4UDuipeRbMkKJdSU7xpZag+jxNYGiqQg7faOSZQ=; b=AUOiPaxS xGl6r/8TdUlq9I7sCUoVFpjtmha/BAO0hPURzllENVgDRUYrHww88kZS/MzxI3nS +sPdxTu4w3J3aLJ3CY9b3wkn//GzwqjapSPn6yL4zH6z1MT7Y0iJamCxQcakqx3n UWUcg1zqGTKSpqIdhXuQo3WZvWyv5px6xpS+RgYgbOl3i5gkoPfJFOCECHLGXFfU OQRvJE2Q2pV0Fu7W1E1m/Lo+77h7ss2cDYP2qnb91V/qymtd0rEGjlcA4hmb5Ut8 dRZ8tidmycK73I+er8uUeDeF+Djdy3nCAKBrfQlym4NH681EYBFpthZirsBuJ3kE LNgH22o4P3YyBA== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 244CD247A9; Tue, 21 Nov 2017 08:22:00 -0500 (EST) From: Yuanhan Liu To: Zhiyong Yang Cc: Ferruh Yigit , dpdk stable Date: Tue, 21 Nov 2017 21:16:23 +0800 Message-Id: <1511270333-31002-41-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'test: fix assignment operation' has been queued to stable release 17.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Nov 2017 13:22:04 -0000 Hi, FYI, your patch has been queued to stable release 17.08.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 21b63920e7408b9ebda65886105506e5175257cb Mon Sep 17 00:00:00 2001 From: Zhiyong Yang Date: Fri, 15 Sep 2017 10:35:57 +0800 Subject: [PATCH] test: fix assignment operation [ upstream commit e19e163d27dfc342bf58e49c605fededa6cfc6fb ] This should be an comparison operation rather than an assignment operation. Fixes: 5e41ab250dfa ("app/test: unit tests for bonding mode 4") Signed-off-by: Zhiyong Yang Reviewed-by: Ferruh Yigit --- test/test/test_link_bonding_mode4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test/test_link_bonding_mode4.c b/test/test/test_link_bonding_mode4.c index 8e9e23d..e246f01 100644 --- a/test/test/test_link_bonding_mode4.c +++ b/test/test/test_link_bonding_mode4.c @@ -661,7 +661,7 @@ bond_handshake(void) TEST_ASSERT_EQUAL(all_slaves_done, 1, "Bond handshake failed\n"); /* If flags doesn't match - report failure */ - return all_slaves_done = 1 ? TEST_SUCCESS : TEST_FAILED; + return all_slaves_done == 1 ? TEST_SUCCESS : TEST_FAILED; } #define TEST_LACP_SLAVE_COUT RTE_DIM(test_params.slave_ports) -- 2.7.4