From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 95F283257 for ; Wed, 12 Jul 2017 12:19:31 +0200 (CEST) Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jul 2017 03:19:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,349,1496127600"; d="scan'208";a="126180664" Received: from dwdohert-dpdk.ir.intel.com ([163.33.210.152]) by fmsmga006.fm.intel.com with ESMTP; 12 Jul 2017 03:19:29 -0700 From: Declan Doherty To: Herbert Guan , dev@dpdk.org, jianbo.liu@linaro.org References: <1499671222-8283-1-git-send-email-herbert.guan@arm.com> Message-ID: <7439a0f9-e9f0-62b0-86c6-b85f244c0156@intel.com> Date: Wed, 12 Jul 2017 11:16:46 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] test: Fix memory corruption issues which fails the link_bonding test. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Jul 2017 10:19:32 -0000 On 12/07/17 10:59, Declan Doherty wrote: > On 10/07/2017 8:20 AM, Herbert Guan wrote: ... > > Hey Herbert, > > I'm seeing compilation warnings for unused variables when I apply this > patch, otherwise these changes look good. > > CC test_link_bonding.o > /home/declan/Development/dpdk-org/master/test/test/test_link_bonding.c:2407:9: > error: unused variable 'j' > [-Werror,-Wunused-variable] > int i, j, burst_size, slave_count, primary_port; > ^ > /home/declan/Development/dpdk-org/master/test/test/test_link_bonding.c:3301:9: > error: unused variable 'j' > [-Werror,-Wunused-variable] > int i, j, burst_size, slave_count; > ^ > /home/declan/Development/dpdk-org/master/test/test/test_link_bonding.c:3860:9: > error: unused variable 'j' > [-Werror,-Wunused-variable] > int i, j, burst_size, slave_count; > ^ > /home/declan/Development/dpdk-org/master/test/test/test_link_bonding.c:4372:9: > error: unused variable 'j' > [-Werror,-Wunused-variable] > int i, j, burst_size, slave_count, primary_port; > Apologies, my outlook mail filter missed your v2 patch, so you can ignore this.