get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2140267,
    "url": "http://patchwork.ozlabs.org/api/patches/2140267/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250922093629.2547703-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": "<20250922093629.2547703-2-jerome.forissier@linaro.org>",
    "list_archive_url": null,
    "date": "2025-09-22T09:35:41",
    "name": "[1/3] net: lwip: enable debug traces for SNTP when CONFIG_LWIP_DEBUG is set",
    "commit_ref": "4462ab9a0b559a45c2b3e2dfb3912303e3449c9b",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "96f6cf96c6f8e15111c919fed0d554831053b3c7",
    "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/20250922093629.2547703-2-jerome.forissier@linaro.org/mbox/",
    "series": [
        {
            "id": 474649,
            "url": "http://patchwork.ozlabs.org/api/series/474649/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=474649",
            "date": "2025-09-22T09:35:40",
            "name": "lwIP fixes (SNTP with DHCP)",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/474649/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2140267/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2140267/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=vbW/mI42;\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=\"vbW/mI42\";\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) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4cVdL81JGGz1yCs\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 22 Sep 2025 19:37:04 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 3090483280;\n\tMon, 22 Sep 2025 11:36:55 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id D73D383211; Mon, 22 Sep 2025 11:36:52 +0200 (CEST)",
            "from mail-wr1-x435.google.com (mail-wr1-x435.google.com\n [IPv6:2a00:1450:4864:20::435])\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 EE27F832F9\n for <u-boot@lists.denx.de>; Mon, 22 Sep 2025 11:36:50 +0200 (CEST)",
            "by mail-wr1-x435.google.com with SMTP id\n ffacd0b85a97d-3ee12332f3dso4141729f8f.2\n for <u-boot@lists.denx.de>; Mon, 22 Sep 2025 02:36:50 -0700 (PDT)",
            "from builder.. ([2a01:e0a:3cb:7bb0:fe8b:a136:2e69:4bd1])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-3ee07407d0asm19177840f8f.17.2025.09.22.02.36.49\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 22 Sep 2025 02:36: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,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=1758533810; x=1759138610; 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=wqqpzgE2HNyI5+8VxwdBI2UkeOxriyYRbRE47AdsEVc=;\n b=vbW/mI42qg6Bjotn5HcW7/NQkupt9I8Ptylomw7WMW97M4O2duHw5x1bN3w8878JPb\n dyJGL05ubgDaEu536S4XZqOa2gNLLABynU4KSiaY+u7soDLkVucBiL0R9YDN2TxJx4xp\n Sw87+KNhLMhid7vtds/IIWqvr5HQFZFRzhG1pEuEqH/c5WtcbN+Dk1ROqvuNPfg3ZS/0\n I12Hs7zbHEQDxS9rQuV/gWHajvDVDCRL+55U2mcdrIcZNjty+ZIUje/nqMzYWHtXpgDD\n /qvFz55umhSXXzmLhl+ws0gQDHEYCoJa3s7wiYyc0/4crpYimh6J4xn6jgPAz/GBoYCo\n bUQw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1758533810; x=1759138610;\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=wqqpzgE2HNyI5+8VxwdBI2UkeOxriyYRbRE47AdsEVc=;\n b=jggOEpElxn6TGVpS5EzY4ImOw+QzzlwWynEmzGCsR8FPhxIigTdpd62Mx1UsV5qnd9\n vYuy3qnTS0v1MyB32gg9GGr6KVqPnUZD/27q62/2VakEBfTxIScI/qstIpZZ8IoalO/l\n GEOALLBhE4CxjbRPm+r2HAU3L56rOOAw0vhqpM+Pt/fDpTVMaLW0/H6W5WTgNrTP78gd\n VqxV1FMh+WbXn/KUVnogr+meXeb1bypCf7rI08UYfkYQUQZyZbT+R+/w2gBEuLfWqrzo\n GzmROgl5j2Gp10yCfUbBs2rrstYUqjtedVFqmhJjtYVKf2iVGd1zs5/WlF1PowRBHHdk\n Go0Q==",
        "X-Gm-Message-State": "AOJu0Yw1Y/+i7+Xtcei49KjtDKjOQtkwisymv83ZoXAZHrZyVvY2XIXD\n D90M45PXDvZMmWPSb8AcoDAQbbsR1eiFzavbJ9Wxv+shU+qr/Z4rCtRS3cT5ZFFyWxkRLoRCl/J\n KQPkqPWc=",
        "X-Gm-Gg": "ASbGncuQD7AxtUU7gtbBZvOKY+omPhJeacO22F3Tb6PGtZCYzIrPAF1vmQN92hwBu8Q\n dpqGhUTvbX8ZT/DNeA9OJh0iFBQB47Jl+aX7UpCl1SN/6109n25p68QOi2dwj9eOT/mfdUwpRXI\n 99d/f36fSvw2kfdHmt5+sSgL4zMDfWy1x+IcK6V6a7NLV7/LdODmI91zZjVnzefrFAwojNUfjjK\n FAsoS9mQxykZlE2VoqjRCBz5gDwlZ4K4aWk4+OMrXVA6wjHDIJXyTHiVtBrQzkF+NZFDV9zoyiW\n Rkgwkw4j+9NQcgmFZuDg8Wdj+LzJph8cUW9Q6fct/8H18Kie7cV7RV8VIQgzdvwedy78/q/LyG/\n /QUcZt9yd8PYX+72ubSV6p3PEygqaYzQ=",
        "X-Google-Smtp-Source": "\n AGHT+IH1QFcjFqIBmE2ZWe0W3KysvjswyryjF9TvOYVv61yNZjZmdeeC7PWSFEHOAsmjZ0mOLNyVtw==",
        "X-Received": "by 2002:a05:6000:2f84:b0:3fc:c90d:9957 with SMTP id\n ffacd0b85a97d-3fcc90d9a60mr2246065f8f.16.1758533810192;\n Mon, 22 Sep 2025 02:36:50 -0700 (PDT)",
        "From": "Jerome Forissier <jerome.forissier@linaro.org>",
        "To": "U-Boot mailing list <u-boot@lists.denx.de>",
        "Cc": "Michal Simek <michal.simek@amd.com>,\n Jerome Forissier <jerome.forissier@linaro.org>,\n Heinrich Schuchardt <xypron.glpk@gmx.de>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Javier Tia <javier.tia@linaro.org>,\n Joe Hershberger <joe.hershberger@ni.com>,\n Tim Harvey <tharvey@gateworks.com>, Tom Rini <trini@konsulko.com>",
        "Subject": "[PATCH 1/3] net: lwip: enable debug traces for SNTP when\n CONFIG_LWIP_DEBUG is set",
        "Date": "Mon, 22 Sep 2025 11:35:41 +0200",
        "Message-ID": "<20250922093629.2547703-2-jerome.forissier@linaro.org>",
        "X-Mailer": "git-send-email 2.48.1",
        "In-Reply-To": "<20250922093629.2547703-1-jerome.forissier@linaro.org>",
        "References": "<20250922093629.2547703-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": "Now that SNTP is supported, enable SNTP debug traces when LWIP_DEBUG is\nenabled. In particular, this allows to see which NTP servers are\nreceived during DHCP.\n\nSigned-off-by: Jerome Forissier <jerome.forissier@linaro.org>\n---\n\n lib/lwip/u-boot/lwipopts.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/lib/lwip/u-boot/lwipopts.h b/lib/lwip/u-boot/lwipopts.h\nindex 80b93ea172db..e8a2c9d7a0a6 100644\n--- a/lib/lwip/u-boot/lwipopts.h\n+++ b/lib/lwip/u-boot/lwipopts.h\n@@ -44,6 +44,7 @@\n #define DNS_DEBUG                       LWIP_DBG_ON\n #define IP6_DEBUG                       LWIP_DBG_OFF\n #define DHCP6_DEBUG                     LWIP_DBG_OFF\n+#define SNTP_DEBUG                      LWIP_DBG_ON\n #endif\n \n #define LWIP_TESTMODE                   0\n",
    "prefixes": [
        "1/3"
    ]
}