get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219802,
    "url": "http://patchwork.ozlabs.org/api/patches/2219802/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260404140328.3724864-4-sjg@chromium.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260404140328.3724864-4-sjg@chromium.org>",
    "list_archive_url": null,
    "date": "2026-04-04T14:03:07",
    "name": "[03/14] test: Fix broken fs_obj_fat fixture",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "057a8bd85014efd3d4b6fb79369fdea72e2a71e4",
    "submitter": {
        "id": 6170,
        "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api",
        "name": "Simon Glass",
        "email": "sjg@chromium.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260404140328.3724864-4-sjg@chromium.org/mbox/",
    "series": [
        {
            "id": 498729,
            "url": "http://patchwork.ozlabs.org/api/series/498729/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498729",
            "date": "2026-04-04T14:03:04",
            "name": "test: Convert tests to use FsHelper and DiskHelper",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498729/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219802/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219802/checks/",
    "tags": {},
    "related": [],
    "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 (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=iN66ezA0;\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=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"iN66ezA0\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"
        ],
        "Received": [
            "from phobos.denx.de (unknown\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 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fny5F290Wz1yGr\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 01:04:33 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 8A8F084105;\n\tSat,  4 Apr 2026 16:04:00 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 33BB084101; Sat,  4 Apr 2026 16:03:59 +0200 (CEST)",
            "from mail-oa1-x2c.google.com (mail-oa1-x2c.google.com\n [IPv6:2001:4860:4864:20::2c])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 1982A83642\n for <u-boot@lists.denx.de>; Sat,  4 Apr 2026 16:03:57 +0200 (CEST)",
            "by mail-oa1-x2c.google.com with SMTP id\n 586e51a60fabf-423306870e7so379312fac.2\n for <u-boot@lists.denx.de>; Sat, 04 Apr 2026 07:03:57 -0700 (PDT)",
            "from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id\n 586e51a60fabf-4232eb3d0e4sm2348235fac.6.2026.04.04.07.03.53\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sat, 04 Apr 2026 07:03:54 -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.6 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;\n d=chromium.org; s=google; t=1775311435; x=1775916235; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=BwynA4H7hcpSYrrNYoruc1KOTxMhpsq75lMTwo2EpKA=;\n b=iN66ezA0hmhDll26zCQJsENd/7PE2WTB9t46phHBKdZB2cmV2unL+Qx9/gHR8olwSm\n PG+qcp2HUX8b6euDpHa03Z7kKh77q9dFPwhRO9p5rLfuvJfwiYEDoOVGZXDGakkklPBn\n FenC8x8/2yHQI25hQ782ZmjujDCf76AVterNU=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775311435; x=1775916235;\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=BwynA4H7hcpSYrrNYoruc1KOTxMhpsq75lMTwo2EpKA=;\n b=UsKR3KDBaNMIGltPIFj9+efOtLoOPBsxMbVkcr5+P1y+LMagB0mOpWCtQzyP9XVyk8\n RLvjlb9RRKoT4Jwm2h244Mtx+rjz/F6gWAEqgwSqY/akmZTglG7E/DWQlN88/MAGSm+3\n 9ZcQHeq3n5CAZ8RzEo9icKDZWa6qszshN8lbLhtHKEIUG9o9FyIdJGrUSFSzG2m/78u1\n AEsSTF669RQ1K2yanYZmyVFKD1CKfLdmi8mby/8dQjsa7K3nceB/QQeA95iWk48DMb/Z\n cOOhK0NpFdNM/Sqyw9t6SYPz24SGVVtfxBKzo24TfCw71WL5g3hzJiRE4NynxA0iNH3W\n kcWg==",
        "X-Gm-Message-State": "AOJu0Yx0vOpGQjsN13+vZlhgzKItxt2kxktSiU0qvbX7+/TBSVllYj+V\n LwdPMYUIgnqIDR7hGrlj3PaWLsTioWlDCI0qEq6MuJ82MJjDmLFFg9ax3DQWv44+PcUT9GtANrZ\n yv0c=",
        "X-Gm-Gg": "AeBDiet5YUZV6rP1NalkVAz3rg0rW55Dzp+lxHq6zQHi2i3sDbHcLwB+dXUwYiZrUvD\n lz6negHzN1mWS0cL8qHWBnFIrkKTVzyqI20Ebogqr32f6SP3ZL+ezcqdHmFJ2qGTyDZMBATx0N8\n mXfUU+z5/v1FGlsjSHMbeuArl5pmKKJgyBF9lPMJi7Fao22ax098Hb0xh0ytKEw9Uv8/PoWoiYD\n xRWsNAKiscTA+PsErN9NjAAc4hisyrGAYpSZElHUwgpyJhojW9ctQfOaQvUecffBYJ9lWQPm+3c\n aj54zprouiJmSeuZ1A3lY6Elt/CpWQe8HFeASVVobpZD6i5GEbAaykZzTON4i7ghb2X3skXUgDf\n 7dxuRYmqkEQoB/Jd4n2r/jqjGZ734LdWg8RP8zOky1SfKk2VoY2fM7KjTN7qZ0uJYDm4tXgpscD\n oit2Q+HcexAMvzav6TUw==",
        "X-Received": "by 2002:a05:6870:1402:b0:40e:e7d4:970a with SMTP id\n 586e51a60fabf-42310131cf0mr3546588fac.31.1775311435142;\n Sat, 04 Apr 2026 07:03:55 -0700 (PDT)",
        "From": "Simon Glass <sjg@chromium.org>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Simon Glass <sjg@chromium.org>,\n Christian Taedcke <christian.taedcke@weidmueller.com>,\n Marek Vasut <marex@denx.de>, Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH 03/14] test: Fix broken fs_obj_fat fixture",
        "Date": "Sat,  4 Apr 2026 08:03:07 -0600",
        "Message-ID": "<20260404140328.3724864-4-sjg@chromium.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260404140328.3724864-1-sjg@chromium.org>",
        "References": "<20260404140328.3724864-1-sjg@chromium.org>",
        "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": "The removal of the size_gran parameter from mk_fs() leaves a stale\npositional argument (1024) that is now interpreted as the fs_img\nfilename. Since 1024 is an integer, os.path.join() raises TypeError,\ncausing the fixture to silently skip via the bare except clause.\n\nDrop the stale argument so the fixture works again.\n\nFixes: d030dc34d67a (\"test: fs_helper: Drop the size_gran argument\")\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\n test/py/tests/test_fs/conftest.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/test/py/tests/test_fs/conftest.py b/test/py/tests/test_fs/conftest.py\nindex 0205048e73a..cc5c0fc3756 100644\n--- a/test/py/tests/test_fs/conftest.py\n+++ b/test/py/tests/test_fs/conftest.py\n@@ -706,7 +706,7 @@ def fs_obj_fat(request, u_boot_config):\n \n     try:\n         # the volume size depends on the filesystem\n-        fs_img = fs_helper.mk_fs(u_boot_config, fs_type, fs_size, f'{fs_size}', None, 1024)\n+        fs_img = fs_helper.mk_fs(u_boot_config, fs_type, fs_size, f'{fs_size}')\n     except:\n         pytest.skip('Setup failed for filesystem: ' + fs_type)\n         return\n",
    "prefixes": [
        "03/14"
    ]
}