get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2214268,
    "url": "http://patchwork.ozlabs.org/api/patches/2214268/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260320205327.3788628-1-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": "<20260320205327.3788628-1-trini@konsulko.com>",
    "list_archive_url": null,
    "date": "2026-03-20T20:53:27",
    "name": "net: Rework dependencies around NET/NET_LWIP and NETDEVICES",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c1a73ae9551cff57d503b3c393b8662bb4ac86d8",
    "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/20260320205327.3788628-1-trini@konsulko.com/mbox/",
    "series": [
        {
            "id": 496900,
            "url": "http://patchwork.ozlabs.org/api/series/496900/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=496900",
            "date": "2026-03-20T20:53:27",
            "name": "net: Rework dependencies around NET/NET_LWIP and NETDEVICES",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/496900/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2214268/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2214268/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=OPl3KOJT;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; 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=\"OPl3KOJT\";\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 [85.214.62.61])\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 4fcvtn6HbLz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 21 Mar 2026 07:54:09 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 8769984011;\n\tFri, 20 Mar 2026 21:53:37 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id A47FD83FE9; Fri, 20 Mar 2026 21:53:33 +0100 (CET)",
            "from mail-oo1-xc2e.google.com (mail-oo1-xc2e.google.com\n [IPv6:2607:f8b0:4864:20::c2e])\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 8DC2483FED\n for <u-boot@lists.denx.de>; Fri, 20 Mar 2026 21:53:30 +0100 (CET)",
            "by mail-oo1-xc2e.google.com with SMTP id\n 006d021491bc7-67baebf716bso1393644eaf.3\n for <u-boot@lists.denx.de>; Fri, 20 Mar 2026 13:53:30 -0700 (PDT)",
            "from bill-the-cat.. (fixed-189-203-97-235.totalplay.net.\n [189.203.97.235]) by smtp.gmail.com with ESMTPSA id\n 006d021491bc7-67c252c91d0sm1911637eaf.5.2026.03.20.13.53.28\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 20 Mar 2026 13:53:28 -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=1774040009; x=1774644809; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=MbaMDBzmqDxzBfp26f6/NhaJeB0cNJN4f46Tn8UFRdA=;\n b=OPl3KOJTL3NqM3hpwuFS8es0kcKdfv7szVwPUpBLVC5FfTTO/sriQeymlChrMogjDc\n 0EL1xE7IUFlt2eRJpfwAUjyDpXdOdz0owHwA78r07oyP+TU3Wu9jY7nRGVpUgHI2Jy1p\n DQduiw+psApKzCibKIudEWiLKkhfHmdz2RNNQ=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1774040009; x=1774644809;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date\n :message-id:reply-to;\n bh=MbaMDBzmqDxzBfp26f6/NhaJeB0cNJN4f46Tn8UFRdA=;\n b=drMZPQdpRWzVnxWHBwTCTd85E2g9704DZTxK4lU4NPfpOagukg5FYTns7eY2CBbgvT\n ZrnTvftRjMIgEtVKAOK5oZuWDFUxRATxFsOyQ3MX1o09NRUPGvIyEMXiktByjfwrvIZb\n XlvZO9veuWb7C9F9gcgVTj6mNBeNFZ3XlUfdULDmcGtK8YSomXxYV50FlO4XfizPe6WW\n W4OdosWUZRHa0Gtu/7gdIAK29++eWXHd6Qtbir2MFk0/2+tswxUFXtknmKiZPbgf0Pq2\n QSgkjPrzKvOknQs/CuZYP1pLKVRtoz4Yiyk2PE5TpisOl3bMZsx9/fTe78IMIW19xWgi\n OzYA==",
        "X-Gm-Message-State": "AOJu0Yy2ywEO4hb4WmoL8o9GM7U81V/5I6P2INbdEs8fo9pH1jTrnf44\n Cswkqqq9QA0+YVQYtSY0W4xubn7TmiSoHSDBh5S1v2SCz8sJUDSXXQJTE5ZZ5AAmbDBDJWzzwO4\n 36s7l8EA=",
        "X-Gm-Gg": "ATEYQzzdyGRH63WsANkoV9bpu1iGqCBSDOSPdkrRKGTrN310Ze8mA/0uz+5glRPzRaV\n wI7QY4b3HM4q3IAp0iesMjTL2R8jALynuRIqDJ4nNvbGDvU9kN49hbiSsWKTKyzGXgnc1WWJ1wn\n Wh2yu5FduGohky69t28rfpL2t1Wfs7Ebvfsw9XzX1wcSq3jcvKHNDS8LkYeVNT0syIsBz+QIdKr\n 9JTiORbb5lRuVxxFx5SeqY2xcxMGSrIz/k+6EmN1LnOwl84D2nI1z70mqJNcyuQ04Xy/6mAtJP3\n R4txJMSKeC0RRXUcEywPrINHPOjfklZAtFPDwItlfcG9xz0mRI1oTER25TVrJPwNg4AMhT8DDyt\n 3YG06BvXwFNqrCt+aUFkHJ/Jn6+zJShiQLxBgWfD94NATl9jI4Efc4I8dwHJXcgvZ5JuNS3/mwu\n dtWvd4Da2kl1wC2oy81zGc98rUUbUqnwvKmkDiaJZmdsMtFQlSCAWUmTBS1YRf0aRyCDO4BeDLc\n 1cVqJKbFaj9WDnJLBUd1oemvrhx31uIoXJV9O9Zk5bQ++0V3itXmSF3/Vb1Hg==",
        "X-Received": "by 2002:a05:6820:806:b0:67c:1d90:3949 with SMTP id\n 006d021491bc7-67c22fa1860mr2793838eaf.48.1774040009210;\n Fri, 20 Mar 2026 13:53:29 -0700 (PDT)",
        "From": "Tom Rini <trini@konsulko.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Jerome Forissier <jerome.forissier@arm.com>",
        "Subject": "[PATCH] net: Rework dependencies around NET/NET_LWIP and NETDEVICES",
        "Date": "Fri, 20 Mar 2026 14:53:27 -0600",
        "Message-ID": "<20260320205327.3788628-1-trini@konsulko.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "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": "Functionally, both networking stacks require DM_ETH. This is because\nthey both also require some networking devices to be enabled. Express\nthis more correctly by having both NET and NET_LWIP select NETDEVICES.\nIn turn NETDEVICES no longer depends on NET or NET_LWIP as it's not\nprompted anymore.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\nCc: Jerome Forissier <jerome.forissier@arm.com>\n---\n Kconfig             | 4 ++--\n drivers/net/Kconfig | 9 ++++++---\n 2 files changed, 8 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/Kconfig b/Kconfig\nindex b52331d6ff25..01708e80f476 100644\n--- a/Kconfig\n+++ b/Kconfig\n@@ -787,14 +787,14 @@ config NO_NET\n \n config NET\n \tbool \"Legacy U-Boot networking stack\"\n-\timply NETDEVICES\n+\tselect NETDEVICES\n \thelp\n \t  Include networking support with U-Boot's internal implementation of\n \t  the TCP/IP protocol stack.\n \n config NET_LWIP\n \tbool \"Use lwIP for networking stack\"\n-\timply NETDEVICES\n+\tselect NETDEVICES\n \thelp\n \t  Include networking support based on the lwIP (lightweight IP)\n \t  TCP/IP stack (https://nongnu.org/lwip). This is a replacement for\ndiff --git a/drivers/net/Kconfig b/drivers/net/Kconfig\nindex 02063ce3aa91..9d4e9f069701 100644\n--- a/drivers/net/Kconfig\n+++ b/drivers/net/Kconfig\n@@ -90,9 +90,10 @@ config DSA_SANDBOX\n \t  Ethernet device used as DSA master, to test DSA class code, including\n \t  exported DSA API and datapath processing of Ethernet traffic.\n \n-menuconfig NETDEVICES\n-\tbool \"Network device support\"\n-\tdepends on NET || NET_LWIP\n+menu \"Network device support\"\n+\n+config NETDEVICES\n+\tbool\n \tselect DM_ETH\n \thelp\n \t  You must select Y to enable any network device support\n@@ -1106,3 +1107,5 @@ source \"drivers/net/pfe_eth/Kconfig\"\n source \"drivers/net/fsl-mc/Kconfig\"\n \n endif # NETDEVICES\n+\n+endmenu\n",
    "prefixes": []
}