get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2142297,
    "url": "http://patchwork.ozlabs.org/api/patches/2142297/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250925204414.3561033-2-trini@konsulko.com/",
    "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": "<20250925204414.3561033-2-trini@konsulko.com>",
    "list_archive_url": null,
    "date": "2025-09-25T20:44:12",
    "name": "[2/4] net: Add SYS_FAULT_MII_ADDR to Kconfig",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "980eb2057abe5efdb97a6857bc297713a935a711",
    "submitter": {
        "id": 65875,
        "url": "http://patchwork.ozlabs.org/api/people/65875/?format=api",
        "name": "Tom Rini",
        "email": "trini@konsulko.com"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250925204414.3561033-2-trini@konsulko.com/mbox/",
    "series": [
        {
            "id": 475288,
            "url": "http://patchwork.ozlabs.org/api/series/475288/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=475288",
            "date": "2025-09-25T20:44:11",
            "name": "[1/4] arm: socfpga: Tighten a few more driver dependencies",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/475288/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2142297/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2142297/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=konsulko.com header.i=@konsulko.com header.a=rsa-sha256\n header.s=google header.b=XwCG2p/F;\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=konsulko.com",
            "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=konsulko.com header.i=@konsulko.com\n header.b=\"XwCG2p/F\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=trini@konsulko.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 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4cXm0t3kqHz1yFp\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 26 Sep 2025 06:44:30 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id B0CBC8344E;\n\tThu, 25 Sep 2025 22:44:22 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 3447E82A9E; Thu, 25 Sep 2025 22:44:21 +0200 (CEST)",
            "from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com\n [IPv6:2607:f8b0:4864:20::c2c])\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 055AC832AD\n for <u-boot@lists.denx.de>; Thu, 25 Sep 2025 22:44:19 +0200 (CEST)",
            "by mail-oo1-xc2c.google.com with SMTP id\n 006d021491bc7-638ac2981b9so566702eaf.3\n for <u-boot@lists.denx.de>; Thu, 25 Sep 2025 13:44:18 -0700 (PDT)",
            "from bill-the-cat.. (fixed-189-203-97-42.totalplay.net.\n [189.203.97.42]) by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7a23193d01bsm605790a34.8.2025.09.25.13.44.16\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 25 Sep 2025 13:44:16 -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,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=konsulko.com; s=google; t=1758833058; x=1759437858; 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=THaVmH7DjWhYVchgIAEeamrYGNX1koDXUGFfkwERezI=;\n b=XwCG2p/F0Vu2VBMGWR+BnwFjt908PByH9hEcW2eEr92SrwP6fivDD6zozO6LUY7xbv\n EFuPTzo/pP7NPMU3bBIlnQeg8rbRQOA6oo71e3WO+xSYMLEqer6GvI3Ox9pz/OsmS8Fn\n cWdVoyods0dH9g/iCS0+CBdcf6JpB4cSGbENw=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1758833058; x=1759437858;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=THaVmH7DjWhYVchgIAEeamrYGNX1koDXUGFfkwERezI=;\n b=MYqKokYjhEpOjx0sZZAldgbluYmhX56jq9Xo7Czr/mXK39pbmDloB7aRhpmashC8mM\n 6CLxfIh6W5o0BJvjKgpwbnnhMQR1AbZLXBEGZ/ZiQge3BXKZRasMAkVoZtyUuql9Nx8p\n KQYiXG2pG5SC0cMgOvDagu2fT7B3cS3t2HV4wv6svtgbX/Prr0pwUHaOZeKY5RIMNtnB\n szkl8EfgfyLCEHnMEQMCmCPGl/yyPDr1WLYjtccWuklg0SMXzWLXmtqbwIeyDZDhu5kG\n /Tzr4xwLuXb9GLXAi9yFsVG/BcTQv3Z/6JUVqSNjhB6UmdWqI8ItZ4t8A56L1hgS+RCM\n m07Q==",
        "X-Gm-Message-State": "AOJu0YyYMwYi0rDjh61EOGbN8A4MrcEoL3OmCr3yT8wAlGVWqSOjWtP2\n 8H5LsYhY42jXvWKT93ou/wHTSmSo8cx34z7vmk3NEOZIKA4TimNYmd2sHgnJ9K7ZlFeLVoh7ikE\n 79ytlh0c=",
        "X-Gm-Gg": "ASbGncuMIdMseIQg494c/02c8TWvG1pdTT0OtuZtbm48BJgBfEh4e1GomyDYLwvQ6yG\n BTmg5tYcO/6LknLKqpc6QtzhXdknOTSOJjzQLzxbntF+Bt/XKDbWCkEcQYiJ7d9B1mucx6fR/mS\n 35fBbwG7hJw/+wyhWhIS3HZ0nYW8woKcTKLVDxoFUyTswLijDFn6P/wvIK1027ph4MdrISM6fwI\n 73HNagl9Y77qfRb1sv00wfTw0xn+zNg6QsJCm+FRSmKOPh+Vm9ClSnRF2HlCa/ziDW4wSSTycOi\n 47GcYLrqSaK/xwwzh9iiDtXXHlc/dWYF2sU8Vgk05kGyFsTfrJ//sDW9xgqu0S6X7FOre/nH5s5\n r4sTm7Aaqx9OUWhH4JvQO0GGcZJz5rFzAneLiLLFtQRUx2HtuQf+2auIR77U=",
        "X-Google-Smtp-Source": "\n AGHT+IEcL6hkS4QdYYzjP/lX0/AdQviKmdtm713qBXXGaPitIOvcvRTkN2SIjsLh+gJ/7i4q9MDkww==",
        "X-Received": "by 2002:a05:6808:50a6:b0:43f:4190:bcb7 with SMTP id\n 5614622812f47-43f4cfc6d10mr2797566b6e.37.1758833057741;\n Thu, 25 Sep 2025 13:44:17 -0700 (PDT)",
        "From": "Tom Rini <trini@konsulko.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Jerome Forissier <jerome.forissier@linaro.org>",
        "Subject": "[PATCH 2/4] net: Add SYS_FAULT_MII_ADDR to Kconfig",
        "Date": "Thu, 25 Sep 2025 14:44:12 -0600",
        "Message-ID": "<20250925204414.3561033-2-trini@konsulko.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20250925204414.3561033-1-trini@konsulko.com>",
        "References": "<20250925204414.3561033-1-trini@konsulko.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": "The support found under SYS_FAULT_ECHO_LINK_DOWN requires that the\nSYS_FAULT_MII_ADDR symbol also be set. This wasn't previously found in\nKconfig, so add it now.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\nCc: Jerome Forissier <jerome.forissier@linaro.org>\n\nChanges in v2:\n- Add missing dependency on LED_STATUS_RED_ENABLE as well.\n---\n README      | 3 ---\n net/Kconfig | 4 ++++\n 2 files changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/README b/README\nindex 07cfded6be53..27cde241bef4 100644\n--- a/README\n+++ b/README\n@@ -1238,9 +1238,6 @@ Note: once the monitor has been relocated, then it will complain if\n the default environment is used; a new CRC is computed as soon as you\n use the \"saveenv\" command to store a valid environment.\n \n-- CONFIG_SYS_FAULT_MII_ADDR:\n-\t\tMII address of the PHY to check for the Ethernet link state.\n-\n - CONFIG_DISPLAY_BOARDINFO\n \t\tDisplay information about the board that U-Boot is running on\n \t\twhen U-Boot starts up. The board function checkboard() is called\ndiff --git a/net/Kconfig b/net/Kconfig\nindex 40ec6bbce761..5768fab6f8fb 100644\n--- a/net/Kconfig\n+++ b/net/Kconfig\n@@ -60,6 +60,10 @@ config SYS_FAULT_ECHO_LINK_DOWN\n \t  this option is active, then CONFIG_SYS_FAULT_MII_ADDR also needs to\n \t  be configured.\n \n+config SYS_FAULT_MII_ADDR\n+\thex \"MII address of the PHY to check for the Ethernet link state\"\n+\tdepends on SYS_FAULT_ECHO_LINK_DOWN && LED_STATUS_RED_ENABLE\n+\n config TFTP_PORT\n \tbool \"Set TFTP UDP source/destination ports via the environment\"\n \thelp\n",
    "prefixes": [
        "2/4"
    ]
}