From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4CB6CC6377B for ; Thu, 22 Jul 2021 02:13:15 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A70DA6127C for ; Thu, 22 Jul 2021 02:13:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A70DA6127C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9D0F082C5D; Thu, 22 Jul 2021 04:12:35 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="WcTuHwTu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 46DF7829F8; Thu, 22 Jul 2021 04:12:15 +0200 (CEST) Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id DF63C82916 for ; Thu, 22 Jul 2021 04:12:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-wm1-x333.google.com with SMTP id n4so2402884wms.1 for ; Wed, 21 Jul 2021 19:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc; bh=GY77/HEh7EDdo4hiV2H3W9+J5f5v3dQfTKNql9TwpxM=; b=WcTuHwTuIZ3YwPwC+i5Hk0CkOeR3S+Iu6dCGcMh6yHZiHsj5rOJJEO89XP97KDsJYM Gxkf8GJfXlPYmgdt4Emd+AMwq6ZkItFzw7nA4xDiFSqHyaWfzbsZdxK63/KUX7smibwU zKgk7hJ5nUXYYR/MEuj2OI6ZwDsQkPCGwmHWc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc; bh=GY77/HEh7EDdo4hiV2H3W9+J5f5v3dQfTKNql9TwpxM=; b=uKn9IcCzW0DKItEUFKTprnsQiERt2m08WaqI8KwxJLx4DhLSKizDYaSLv8PC9PtUT1 WGwbTcgoD9pZp31NxO9gh/5xlfXu01t7RBgAETVioZe78ndxfxvPuQAdkqe4sniaElxi 4dJBj/FRTPYursrSbZqkQDvxdPn+laQPU5D6mIDH8qo0tU5C0nn3FW+4V3/TjfhpdeHp lIx107Xq5cK8n0jzpOnq5gsGozyB1E4V2dEKe1s5DBIp+au0OjFLGAGdvn68NeatqDvb 7P2iym7jNDQelsqRND6PKvlScFw/nlreRI0v8xFgWkmka31wlgPQ5vGXEc4v/+fkB4QT LHNQ== X-Gm-Message-State: AOAM533VgQdx2p7tbFAGUj/S+kkmVJPXZHsrHZ6+ow4RGTPiCezmmWtH zywq/Gq47YIpD8FQxiqTbof15YuYMhFLfJ8zVto9ClXQ1a4wyg== X-Google-Smtp-Source: ABdhPJzAEeT+nbDzFpFJmD4lUtcL5C+ylZR+RSugE+jTZooyv8yCAy6W9/KJyaL+7Qy+wEO5wQhGYHV3YPvggkLwK3Y= X-Received: by 2002:a1c:790e:: with SMTP id l14mr6440628wme.119.1626919924130; Wed, 21 Jul 2021 19:12:04 -0700 (PDT) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Wed, 21 Jul 2021 19:12:01 -0700 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20210706163641.2280401-2-sjg@chromium.org> References: <20210706163641.2280401-2-sjg@chromium.org> <20210706163641.2280401-1-sjg@chromium.org> Date: Wed, 21 Jul 2021 19:12:01 -0700 X-Google-Sender-Auth: oA_OVqrp2HdaH6dWm7AWQjIeO-w Message-ID: Subject: Re: [PATCH 1/6] binman: Put compressed data into separate files To: Simon Glass Cc: U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean At present compression uses the same temporary file for all invocations. With multithreading this causes the data to become corrupted. Use a different filename each time. Signed-off-by: Simon Glass --- tools/patman/tools.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) Applied to u-boot-dm, thanks!