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 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 C236EC636C9 for ; Sat, 17 Jul 2021 20:40:01 +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 195BD60E0B for ; Sat, 17 Jul 2021 20:40:01 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 195BD60E0B 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 7BF3882C38; Sat, 17 Jul 2021 22:39:28 +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="HWOEe2KT"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4BCD782BB2; Sat, 17 Jul 2021 22:39:17 +0200 (CEST) Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 BE24B805DF for ; Sat, 17 Jul 2021 22:39:14 +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-x331.google.com with SMTP id m11-20020a05600c3b0bb0290228f19cb433so10282783wms.0 for ; Sat, 17 Jul 2021 13:39:14 -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=5vFu/yFmPSFeXEfGhGJt6OlHzU0ZlasC4ARX5OhFzyk=; b=HWOEe2KTQTfzI36F3Ae/CAXQbhBP4S2Znj+jKxo0Uf7CEc9bQ2GRP7ICEYSSgvv2ad lHRzflG7KS/jXIAmcWRoZ+xv1pJhk8wKchC5PVHyn8ckJgyrmBYv5V7oBfKqTX3B0JFJ Q5AJPnCVHlmJXLtEExDooBE1JrmgC/iOSAujs= 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=5vFu/yFmPSFeXEfGhGJt6OlHzU0ZlasC4ARX5OhFzyk=; b=SYIH5IG4dMYkcbc8zuxkTtJZK07HwVlb98TZSV/ZGECUXbI3SMx/4mePdQGp3i5TMZ YwgzZ472wnUvr4NLwVAa9j06Que0BBS6NqNoFcdUBaWA9dcKR6j6XtEtZ2d/5/kjIpvS rX/90yC7fjnIqFuHKnhzUTTIVRErjIohwMXa/peBhqS/px6QnH2sI0ZaboacTUau3dOr x7zlIn1jrHOLBrbVzK+TYltKigpiLcXcXd2eEkrlr6EtGWSeiVewInWpOAv9/BlgUgT3 u+DHfFSVqd6gnMaME7JhB4Rf7WT9EyJ+qsoj8On3NykEOJildnJkaCvYzKlU4tIE1PG4 nN4A== X-Gm-Message-State: AOAM531rGwRU3uUYGARZWivxS/7XB9uYM1jHcYHGs0jkqLg25upEn6Gt dQILcaIAsRtErE0V7ASq/l9jO8lwnNM9x4knHrb2Vw== X-Google-Smtp-Source: ABdhPJwi/j3vkmrHVIgG17JIsfK4kppfDAkNAGiPpsrr+if+2ymTmaSX3OG34wgrSvTyQ/XZAUfxudrcSfGvyO1D5QU= X-Received: by 2002:a7b:ca43:: with SMTP id m3mr17921950wml.74.1626554354007; Sat, 17 Jul 2021 13:39:14 -0700 (PDT) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Sat, 17 Jul 2021 13:39:12 -0700 MIME-Version: 1.0 From: Simon Glass In-Reply-To: <20210705223300.2139971-16-sjg@chromium.org> References: <20210705223300.2139971-16-sjg@chromium.org> <20210705223300.2139971-1-sjg@chromium.org> Date: Sat, 17 Jul 2021 13:39:12 -0700 X-Google-Sender-Auth: 0TVK0FB_8t2WymVcP0zvlUxs6HA Message-ID: Subject: Re: [PATCH 17/22] bloblist: Correct condition in bloblist_addrec() 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 It is possible to add a blob that ends at the end of the bloblist, but at present this is not supported. Fix it and add a regression test for this case. Signed-off-by: Simon Glass --- common/bloblist.c | 2 +- test/bloblist.c | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) Applied to u-boot-dm, thanks!