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 9BEE2A055D; Wed, 3 Mar 2021 09:35:23 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 237D840683; Wed, 3 Mar 2021 09:35:23 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 304224067B for ; Wed, 3 Mar 2021 09:35:22 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614760521; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=E6dF+9e26rnND8UVgIcqTeio42vF/x2LcX1kNsYYqvA=; b=DOBSb4j5TKld4J9mtRnvWXSgY/jsxH7vawWL/c3TIEgvX/rL7uBpV1ZICfMZ+x62Th02JG xG+hEDF6IV8mkQSttiuu7EOgdg0fYWBe2vzKRm30CB5aAgVjwkcZN7iBZiCBu45ry7RCOz OihTlDYfN3qrxt+ErCw3xpRmjPL5zyI= Received: from mail-vk1-f199.google.com (mail-vk1-f199.google.com [209.85.221.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-31-ERFZwN73Pe2R34c_IlZ8uw-1; Wed, 03 Mar 2021 03:35:19 -0500 X-MC-Unique: ERFZwN73Pe2R34c_IlZ8uw-1 Received: by mail-vk1-f199.google.com with SMTP id q15so3092772vkd.1 for ; Wed, 03 Mar 2021 00:35:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E6dF+9e26rnND8UVgIcqTeio42vF/x2LcX1kNsYYqvA=; b=NlVF+HMRiPIC3RzvbDLkfpUq3Wnl065cpQqctIHzk5i5o/91GnyfhpRb+3uaWKr8h1 FsofdltvKnOnsxLtiamqjYA4gtePkBb59MD6Lip2s71bKwPY6vOdGM2Ezwg39b5aVPbf F4bXXaBbYsv7ZpqNtnHFMT4z8yhCD8ThwtbtmC59QrY1jaLQ8iEb1ENy5jK92on8Wz2R erxT1ENti9B/nbGXNfiChfVaAwbo6dx9vKP/e3n7IRxpPRs6DCOzTU7ykTAQrSy18DaW LNCWpYwO8XRsM0oVTgkmgwnyrQCOgsHfWk936Q0r7hj8ynjLvCWoK+UyHsuB6IyvNtvq C73w== X-Gm-Message-State: AOAM5305ad5d9a+cWHkAzMbO1REGrisjtJ0fKj6x+UkAk9Y157h3lguy kIEHOr23sZv5rJNUP1OzKWbvmFMkhfFRrVU/mIvWKBs2fT2GHmVQq64nyDocyRNnGdt9NACHz9C PyyANhTpUdVA2omqEae4= X-Received: by 2002:a05:6102:ed4:: with SMTP id m20mr4933750vst.27.1614760519206; Wed, 03 Mar 2021 00:35:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+BKbw3XJl4UFHRTmcG13eiE6nuPx17m4aisepN4mq3/AelF4MEZ/Xcpdj9NFHZivXceMG3Nyh+O74Fdaibbs= X-Received: by 2002:a05:6102:ed4:: with SMTP id m20mr4933746vst.27.1614760519074; Wed, 03 Mar 2021 00:35:19 -0800 (PST) MIME-Version: 1.0 References: <5778cbae-87ab-1aee-ea6f-e5964c796fb2@oktetlabs.ru> In-Reply-To: <5778cbae-87ab-1aee-ea6f-e5964c796fb2@oktetlabs.ru> From: David Marchand Date: Wed, 3 Mar 2021 09:35:08 +0100 Message-ID: To: Andrew Rybchenko Cc: Anatoly Burakov , Andrew Boyer , dev , dpdk stable Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] fbarray: fix uninitialized variable usage 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 Sender: "dev" On Wed, Mar 3, 2021 at 9:31 AM Andrew Rybchenko wrote: > > On 3/3/21 11:17 AM, David Marchand wrote: > > On Fri, Feb 19, 2021 at 6:55 PM Anatoly Burakov > > wrote: > >> > >> When file truncation fails, the log message attempts to print a path of > >> file we failed to truncate, but this path was never set to anything and, > >> what's worse, was uninitialized. Fix it by passing path from the caller. > >> > >> Fixes: c44d09811b40 ("eal: add shared indexed file-backed array") > >> Cc: stable@dpdk.org > >> Coverity ID: 366122 > >> > >> Signed-off-by: Anatoly Burakov > > > > Andrew had reported it too, and proposed something close: > > http://patchwork.dpdk.org/project/dpdk/patch/20201211170615.32827-1-aboyer@pensando.io/ > > Not me, adding Andrew B. to recipients list That's gmail completion fault! /me hides Thanks Andrew R. -- David Marchand