get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2229794/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2229794,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229794/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260428181434.179888-4-heinrich.schuchardt@canonical.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260428181434.179888-4-heinrich.schuchardt@canonical.com>",
    "date": "2026-04-28T18:14:34",
    "name": "[3/3] net: lwip/wget: don't print progress bar when silent",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "2104c896f5742c45c75ce3cb3068e277deb70d5a",
    "submitter": {
        "id": 82181,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/82181/?format=api",
        "name": "Heinrich Schuchardt",
        "email": "heinrich.schuchardt@canonical.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260428181434.179888-4-heinrich.schuchardt@canonical.com/mbox/",
    "series": [
        {
            "id": 501921,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/501921/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501921",
            "date": "2026-04-28T18:14:31",
            "name": "net: lwip/wget: correct diagnostic output",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/501921/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2229794/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2229794/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=c0H5UT06;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=canonical.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.b=\"c0H5UT06\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=pass (p=reject dis=none)\n header.from=canonical.com",
            "phobos.denx.de; spf=pass\n smtp.mailfrom=heinrich.schuchardt@canonical.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4pWW6dqvz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 04:15:19 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id BA5F5846B9;\n\tTue, 28 Apr 2026 20:14:56 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 8679E846A2; Tue, 28 Apr 2026 20:14:53 +0200 (CEST)",
            "from smtp-relay-internal-0.canonical.com\n (smtp-relay-internal-0.canonical.com [185.125.188.122])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 8088884679\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 20:14:51 +0200 (CEST)",
            "from mail-wr1-f70.google.com (mail-wr1-f70.google.com\n [209.85.221.70])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 443D33F7DC\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 18:14:51 +0000 (UTC)",
            "by mail-wr1-f70.google.com with SMTP id\n ffacd0b85a97d-43d7d03e1e7so9430420f8f.3\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 11:14:51 -0700 (PDT)",
            "from workstation5 (ip-176-199-115-125.um44.pools.vodafone-ip.de.\n [176.199.115.125]) by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-4463d02f35csm9551802f8f.11.2026.04.28.11.14.49\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 28 Apr 2026 11:14:49 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1777400091;\n bh=F2A0P7cQ0cFNbj5Q4TdfH6Avz0l72NXGndTs+LO9wFE=;\n h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=c0H5UT06S3tb+KJu8tS0eIO/0glcnrirxKWNRA5sb0wsfJvzZUbX7iKo+Zj2UaXay\n hagS7jkkJu0TQXZUV0vBEOJHevm+twFBpp8uH0caC9otLVaMFXwavgRO/ugtwJDku1\n ZRnfnrgbMp8SlHWRACHbJwhHMK1yfn0hnLtk4YB62l2un4wLDhokZTd79asLqJb8T6\n EdjSX0oaQbu+DH139NarAFhcQ3d0pbzgAhF5vf0jLITqnK5PkXWL64l4tQS2Sh97CP\n BgDg6ZbcBmrbs/xWUIWEQ3l44CzTlfujd/mRm+nWg2Tc+7dGHhRKKh4kdh7cIjDaIT\n GIPxllNRab4XMdu1LWyULmc3qdIYo7BD4R14yeOq+kLJW1rZFbmOYuWYG9JZlimGHl\n FGsNRof/sqm98w9k0hk7zANngMxKZDmg5LjnUD/UJhpeQAECmevOl655Qim3Q1zEhw\n l370UQPpJoc7AkNlSQzxUR0+Fg1wDMQWhsXk4cxSTT1+/ndf/SxW7/fVUUtRRguhko\n 1+kJ8hIFYaZdeYSTZk53YUxYhZcVKpoIqGkZSfSEiIjzEp1iv9YnMJ/r3hCUfUyQYN\n Zw9yvlSvPBm+5BzhmLpqVZelUpM79YrWEC3rJwdjOEg+rQzNGfLx+pIJeQeuE1p52m\n mS7HYcfnKWhHLOZZoJheAWuE=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777400091; x=1778004891;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=F2A0P7cQ0cFNbj5Q4TdfH6Avz0l72NXGndTs+LO9wFE=;\n b=DMHFUD8pKdDi0VG9yUSJoFYVoNmRtzaX4hVktTsQ5FZVTpoGmKVBhCbRLGO5cVx092\n 5JMeuiiFSAOo8lFjqELgpto/VMTyFH2fXxImt7+Mk0yy8uE0gfHSJNwisqKXmfBaPeib\n V2qn5ARks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BDKwbRWUYCJv",
        "X-Received": [
            "by 2002:a05:6000:26cb:b0:43f:de5a:eb63 with SMTP id\n ffacd0b85a97d-4478ea89a58mr804033f8f.11.1777400090786;\n Tue, 28 Apr 2026 11:14:50 -0700 (PDT)",
            "by 2002:a05:6000:26cb:b0:43f:de5a:eb63 with SMTP id\n ffacd0b85a97d-4478ea89a58mr803974f8f.11.1777400090289;\n Tue, 28 Apr 2026 11:14:50 -0700 (PDT)"
        ],
        "From": "Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "To": "Jerome Forissier <jerome.forissier@arm.com>",
        "Cc": "Tom Rini <trini@konsulko.com>, Sughosh Ganu <sughosh.ganu@arm.com>,\n Tim Harvey <tharvey@gateworks.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>, u-boot@lists.denx.de,\n Heinrich Schuchardt <heinrich.schuchardt@canonical.com>",
        "Subject": "[PATCH 3/3] net: lwip/wget: don't print progress bar when silent",
        "Date": "Tue, 28 Apr 2026 20:14:34 +0200",
        "Message-ID": "<20260428181434.179888-4-heinrich.schuchardt@canonical.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260428181434.179888-1-heinrich.schuchardt@canonical.com>",
        "References": "<20260428181434.179888-1-heinrich.schuchardt@canonical.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "When the EFI sub-system request to silence output, do not output a progress\nbar.\n\nSigned-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>\n---\n net/lwip/wget.c | 11 ++++++++---\n 1 file changed, 8 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/net/lwip/wget.c b/net/lwip/wget.c\nindex 983abe2ccd3..e7d302b7541 100644\n--- a/net/lwip/wget.c\n+++ b/net/lwip/wget.c\n@@ -177,6 +177,9 @@ static int store_block(struct wget_ctx *ctx, void *src, u16_t len)\n \tctx->daddr += len;\n \tctx->size += len;\n \n+\tif (wget_info->silent)\n+\t\treturn 0;\n+\n \tpos = clamp(ctx->size, 0UL, ctx->content_len);\n \n \twhile (ctx->hash_count < pos * 50 / ctx->content_len) {\n@@ -239,9 +242,11 @@ static void httpc_result_cb(void *arg, httpc_result_t httpc_result,\n \t}\n \n \t/* Print hash marks for the last packet received */\n-\twhile (ctx->hash_count < 49) {\n-\t\tputc('#');\n-\t\tctx->hash_count++;\n+\tif (!wget_info->silent) {\n+\t\twhile (ctx->hash_count < 49) {\n+\t\t\tputc('#');\n+\t\t\tctx->hash_count++;\n+\t\t}\n \t}\n \n \telapsed = get_timer(ctx->start_time);\n",
    "prefixes": [
        "3/3"
    ]
}