get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2056053,
    "url": "http://patchwork.ozlabs.org/api/patches/2056053/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250306143224.3080316-2-jerome.forissier@linaro.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": "<20250306143224.3080316-2-jerome.forissier@linaro.org>",
    "list_archive_url": null,
    "date": "2025-03-06T14:32:21",
    "name": "[1/2] net: lwip: rename linkoutput() as net_lwip_tx()",
    "commit_ref": "1728fa23494ccb7175bf56b4ab639976b8bcff37",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cddc004b7b3b91d0aaca817f75859b27d0e9a75a",
    "submitter": {
        "id": 69192,
        "url": "http://patchwork.ozlabs.org/api/people/69192/?format=api",
        "name": "Jerome Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "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/20250306143224.3080316-2-jerome.forissier@linaro.org/mbox/",
    "series": [
        {
            "id": 447290,
            "url": "http://patchwork.ozlabs.org/api/series/447290/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=447290",
            "date": "2025-03-06T14:32:20",
            "name": "net: lwip: rename output function, add packet dump",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/447290/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2056053/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2056053/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 (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=O21hCrh1;\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=linaro.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.b=\"O21hCrh1\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=linaro.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=jerome.forissier@linaro.org"
        ],
        "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 4Z7sNM3D7Kz1yKc\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  7 Mar 2025 01:33:23 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 12D9281253;\n\tThu,  6 Mar 2025 15:33:03 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id B336D81417; Thu,  6 Mar 2025 15:32:59 +0100 (CET)",
            "from mail-wr1-x430.google.com (mail-wr1-x430.google.com\n [IPv6:2a00:1450:4864:20::430])\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 B5A1681298\n for <u-boot@lists.denx.de>; Thu,  6 Mar 2025 15:32:57 +0100 (CET)",
            "by mail-wr1-x430.google.com with SMTP id\n ffacd0b85a97d-390fb1b987fso851005f8f.1\n for <u-boot@lists.denx.de>; Thu, 06 Mar 2025 06:32:57 -0800 (PST)",
            "from builder.. ([2a01:e0a:3cb:7bb0:af71:dfb2:66ef:80c3])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-43bdd9470e2sm21561065e9.33.2025.03.06.06.32.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 06 Mar 2025 06:32:56 -0800 (PST)"
        ],
        "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=linaro.org; s=google; t=1741271577; x=1741876377; 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=Ee28FhEf25536IDI2P8UUaLe9iDNhY9Qahhb75ESx7w=;\n b=O21hCrh1aXtRplK/nq3cAdT/XpWPl+qXCveCCev5MWBVhCJstTGKpNjxBZV2ExfrfI\n JiMhFW1zi4POZWNeghocTRd7/ZOOy648W9WfzRJRd0pvo1x+/0tyFZvBys2uIsyC/Srj\n cyyF8e/fqIn9KKhDpigSb4q+WXVVoJCrwWUJ9xu2KLv1dxjbKX0czrqc/1rYGp5qcE+I\n CE/WXcxAQ+sz/kFYiA8IlBZTOD5er2CuNtvJfuJuyXgdAP/6uyr8hi7mUUGZBvKOCVdJ\n /4JWth5EShOrqp3shDf/DCKg0uOjN3JLSnu9Dm+OHjVThHWoxnUC4Bx0cZBNu2vXJCtB\n xzyw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1741271577; x=1741876377;\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=Ee28FhEf25536IDI2P8UUaLe9iDNhY9Qahhb75ESx7w=;\n b=odDwwqUKxglG2f3WhVLhGD3R7+9rGjVoZbITy/5UwBWPXdPEHcSEyWr4VLP7lBpZtE\n zM9EcMSAVNGzwj6VHNAoBUP26w+NjbNLmr8M9226b5Jz3NReQYOMJpadKzrNuGYcxQGA\n 4maN32GzKUoOMncBh3Bb+38g5OlJDLLxdmBt3oLbYJtDzidWgFrR/wc1xfXigJccpzx3\n bAXVi0jFTwHxSif9zMyJPyE0XyAxXxM+EqBp1e+DLhDiY1kEYC5QcNcFJzmhykjU4LGA\n 0MmtLJ5LHBCKkgGEy/FDoXrZTq5huCuqqP5ZS2QnLammIQemC3nnFN4/zLNP4L9iJHSX\n Hj5Q==",
        "X-Gm-Message-State": "AOJu0YxZ7pxcR/JPTOptbRfK7qUjE8W4SieAky038559uwmb9fa2EMse\n MbJea7fE3QJcZX0Ee0ska8eFJSbj0FCSxG85gqlRGX/nk2vBGpYC0tS5NmdE62Xk1zjDxT63eU9\n q",
        "X-Gm-Gg": "ASbGncsb/QQpiFE609vOXp5tCfgs6d4i4lOzvlvBsyAXRgWlytC+XmAEJ1KqseWPqk3\n /lHWfMbsRDsUEnfeuG1IdIMd4C0DtTNO+OMlc/yxra4/HUVKiwn+7JEgr7VPs5dPlYKIV8djcMu\n gZ4zEXGIhq0CTrlJ3jir6XZ4afcAKUpqQLSTVjJLKy445fvKRUXiZduPIQwdjLpbrukdSCox6JX\n xBxd9hmPoJdgHpX51n8MqMSx3nXD8HpWsezY/mXhQgWnzOXT9j86L6tr1zJRzWwe2Fsr7JUc9xn\n grDxVYkwrX29XYuLKBysz+f9Xyndk9z2BKBa1LxM45R6iSaIvpOYxA==",
        "X-Google-Smtp-Source": "\n AGHT+IH+sSI8Iw/2OUYhJWkkXu19/fMpsiUdz+K8cBeVW480VrNW3XiudmGEz21LRFuEWXfeidao9A==",
        "X-Received": "by 2002:a5d:6486:0:b0:391:12a5:3cb3 with SMTP id\n ffacd0b85a97d-3911f726f35mr7415586f8f.3.1741271576869;\n Thu, 06 Mar 2025 06:32:56 -0800 (PST)",
        "From": "Jerome Forissier <jerome.forissier@linaro.org>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Jerome Forissier <jerome.forissier@linaro.org>,\n Joe Hershberger <joe.hershberger@ni.com>,\n Ramon Fried <rfried.dev@gmail.com>, Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH 1/2] net: lwip: rename linkoutput() as net_lwip_tx()",
        "Date": "Thu,  6 Mar 2025 15:32:21 +0100",
        "Message-ID": "<20250306143224.3080316-2-jerome.forissier@linaro.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20250306143224.3080316-1-jerome.forissier@linaro.org>",
        "References": "<20250306143224.3080316-1-jerome.forissier@linaro.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": "Rename static function linkoutput() as net_lwip_tx() for consistency\nwith net_lwip_rx().\n\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\n---\n net/lwip/net-lwip.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/net/lwip/net-lwip.c b/net/lwip/net-lwip.c\nindex cab1dd7d483..5a2a86686f4 100644\n--- a/net/lwip/net-lwip.c\n+++ b/net/lwip/net-lwip.c\n@@ -30,7 +30,7 @@ char *pxelinux_configfile;\n struct in_addr\tnet_ip;\n char net_boot_file_name[1024];\n \n-static err_t linkoutput(struct netif *netif, struct pbuf *p)\n+static err_t net_lwip_tx(struct netif *netif, struct pbuf *p)\n {\n \tstruct udevice *udev = netif->state;\n \tvoid *pp = NULL;\n@@ -60,7 +60,7 @@ static err_t linkoutput(struct netif *netif, struct pbuf *p)\n static err_t net_lwip_if_init(struct netif *netif)\n {\n \tnetif->output = etharp_output;\n-\tnetif->linkoutput = linkoutput;\n+\tnetif->linkoutput = net_lwip_tx;\n \tnetif->mtu = 1500;\n \tnetif->flags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_LINK_UP;\n \n",
    "prefixes": [
        "1/2"
    ]
}