From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f175.google.com (mail-wr0-f175.google.com [209.85.128.175]) by dpdk.org (Postfix) with ESMTP id AAB522B84 for ; Thu, 6 Apr 2017 13:06:32 +0200 (CEST) Received: by mail-wr0-f175.google.com with SMTP id o21so28235630wrb.2 for ; Thu, 06 Apr 2017 04:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=hoye21928RDN3Rnbi1Vt55Qo6UyjpXamBQayTO1Xnww=; b=FI4AFFkuUih6ER+IiqmTfEqYcsK1wQ6c/1GJ6ZEQbWeys6G9+bose4ryAPNVU0kFr2 wPWL3dc30//JI/eOuS1hKxwlfEjr1jLT8v6YPNtJ8dOEyN+GwjuBD5wasDzj8gXo6Bxx chjNNIHT/75j8+kugSaojaZul33OIZm9XG/WH00N77gw8j3HQ8IZhR4R1N8aEVYnqT4b qwHNAWMTie7cpPxoslGhEqZd0S/PkWaPv34F6VxU9TBqYGZAKhLtGqCSWNk+xHnoH4fZ 67GGQQKVijOyb7MgpBYpU/5Eib9OhK1NsWpK7GTV5Gm5fqHtq8pqC+vZJBrIbtE1OiHj bMEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=hoye21928RDN3Rnbi1Vt55Qo6UyjpXamBQayTO1Xnww=; b=jKlYUN9BoZW4bRpwLOqkIEl4rS8PKQH5gwgaYNfKfsPCYDIuPQ07RD1wxtmUNpEDzi 8FX50u7N5rRBAQHs2LsvxMvPd7EaSuUwhRb+Wr7vtRIDWogKVBhX1qfOoc1Ght4iNTxi jU9oViDaE/tocx2dHpZmyrk7vEYQg3QAFVK1ectlYXC8VKNUFMretNh/spKuN9Fxv9Fx TueZMIbFyyRw1xaLsFFk7ZaUAEniJvHpOka7iHZmTONq+YjlnH5rpsSf9CG1SN6fqEca /484vDtuWscJC96fowtG9wNz1hyAr/8e5uUaLyekYC5LLSrlcIGy7Cj+bt9zs56AGj0q LfOA== X-Gm-Message-State: AFeK/H2c1IFWQolsUj/yAGANJL4GGg3MgEW+j5AAfsP16Io2iOsDozOGEZ5U8Cna6U+kwDjj X-Received: by 10.223.182.136 with SMTP id j8mr24625938wre.176.1491476792180; Thu, 06 Apr 2017 04:06:32 -0700 (PDT) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id n5sm1989601wmf.14.2017.04.06.04.06.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Apr 2017 04:06:31 -0700 (PDT) From: Thomas Monjalon To: Nelio Laranjeiro Cc: dev@dpdk.org, Ferruh Yigit , Adrien Mazarguil , Olivier Matz , stable@dpdk.org Date: Thu, 06 Apr 2017 13:06:30 +0200 Message-ID: <2011142.xmeUg0X0rg@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <4b9e3b9e3328d43d5766a39391695e704298d04f.1491470160.git.nelio.laranjeiro@6wind.com> References: <4b9e3b9e3328d43d5766a39391695e704298d04f.1491470160.git.nelio.laranjeiro@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: fix an uninitialised variable 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: Thu, 06 Apr 2017 11:06:33 -0000 2017-04-06 11:16, Nelio Laranjeiro: > Since patch "mbuf: structure reorganization" the compiler complains >=20 > .../drivers/net/mlx5/mlx5_rxtx.c: In function =E2=80=98mlx5_rx_burst= =E2=80=99: > .../drivers/net/mlx5/mlx5_rxtx.c:2082:17: error: =E2=80=98len=E2=80=99= may be used > uninitialized in this function [-Werror=3Dmaybe-uninitialized] >=20 > len is not initialised as it will be at the first segment of a receiv= ed > packet, but it remains hard for the compiler to determine it. >=20 > Fixes: 9964b965ad69 ("net/mlx5: re-add Rx scatter support") >=20 > Cc: stable@dpdk.org > Signed-off-by: Nelio Laranjeiro > Acked-by: Olivier Matz Applied, thanks It is important to note that we see this error only after the mbuf rewo= rk of 17.05, only with GCC, and only when debug is enabled.