get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2123354,
    "url": "http://patchwork.ozlabs.org/api/patches/2123354/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250814120354.235147-1-Max.Merchel@ew.tq-group.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": "<20250814120354.235147-1-Max.Merchel@ew.tq-group.com>",
    "list_archive_url": null,
    "date": "2025-08-14T12:03:52",
    "name": "net: add missing SPDX-License-Identifier for files originating from LiMon",
    "commit_ref": "4800a6a0b3fa9d00f1ec40233a0e16464987c24f",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "20d13d90cc7725d1ea586e1c883aa9d7dcd41050",
    "submitter": {
        "id": 89096,
        "url": "http://patchwork.ozlabs.org/api/people/89096/?format=api",
        "name": "Max Merchel",
        "email": "Max.Merchel@ew.tq-group.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/20250814120354.235147-1-Max.Merchel@ew.tq-group.com/mbox/",
    "series": [
        {
            "id": 469277,
            "url": "http://patchwork.ozlabs.org/api/series/469277/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=469277",
            "date": "2025-08-14T12:03:52",
            "name": "net: add missing SPDX-License-Identifier for files originating from LiMon",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/469277/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2123354/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2123354/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=tq-group.com header.i=@tq-group.com header.a=rsa-sha256\n header.s=key1 header.b=W8lMS1fM;\n\tdkim=fail reason=\"key not found in DNS\" header.d=ew.tq-group.com\n header.i=@ew.tq-group.com header.a=rsa-sha256 header.s=dkim\n header.b=al4SC5qX;\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=none (p=none dis=none) header.from=ew.tq-group.com",
            "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=tq-group.com header.i=@tq-group.com\n header.b=\"W8lMS1fM\";\n\tdkim=fail reason=\"key not found in DNS\" (0-bit key;\n unprotected) header.d=ew.tq-group.com header.i=@ew.tq-group.com\n header.b=\"al4SC5qX\";\n\tdkim-atps=neutral",
            "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=ew.tq-group.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=Max.Merchel@ew.tq-group.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 4c2phq1klhz1xvt\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 15 Aug 2025 01:15:39 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id AE4CD839B1;\n\tThu, 14 Aug 2025 17:15:26 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 56827838C5; Thu, 14 Aug 2025 14:04:59 +0200 (CEST)",
            "from mx1.tq-group.com (mx1.tq-group.com [93.104.207.81])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id DA14F838C7\n for <u-boot@lists.denx.de>; Thu, 14 Aug 2025 14:04:56 +0200 (CEST)",
            "from vmailcow01.tq-net.de ([10.150.86.48])\n by mx1.tq-group.com with ESMTP; 14 Aug 2025 14:04:55 +0200",
            "from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon)\n with ESMTPSA id C783016C525; Thu, 14 Aug 2025 14:04:50 +0200 (CEST)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_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=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1;\n t=1755173096; x=1786709096;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=oeFb2F0goVpWTro0kvoL7sO0BD8YYptOAA5x5ErGGsM=;\n b=W8lMS1fMqdbnOZXB49nZlk3PPwSQRAJuIU3beu6n8hs9x8xlI1PB43Su\n ihlL6xw4mmef/8b7jxcffNEZzDqIL+c/Gtl3exk8SAQMY9NwAHelSjPt7\n QmBHKVg8zS715TRi/1tGf3C9yewe5mRQg2PSGK3zixgE38HuckY41BjA4\n KWC1qepxlS78BMaFlwJDxy9j4cTaPcRSLsfT6FRoMWCbY9PWBX5oG8CYe\n hCZmrd3fyKJKbupJiF9fWS092ChOVqn2LU/U+poUZ+YFW8XC/+j50roDH\n tRf8Kbt7u0nZu7Pl9xHpWaKv2fWKOy+mA7ZX37Rc0934Z9X9hNUbB6GWT g==;",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ew.tq-group.com;\n s=dkim; t=1755173091;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=oeFb2F0goVpWTro0kvoL7sO0BD8YYptOAA5x5ErGGsM=;\n b=al4SC5qXjC99+JUHvmPPak8vTEduvMGfqB8xak8TEwwbmcagiMwDr3vnzkGgoGnZafelmg\n TIWV8UGw7LA/W9q3JKSqWsjVP/ikxm/onAz2oToEMoQFbtHFgwItT81AW1HBptvxRlyZWC\n 7l8e3PTZn3ixvP9dQvlbILxaop7OYMpFuaj0xxaVz46/wwKP9BiT7MFUSUw4wAVxUnq8Xm\n qAji9iNYa1isb5LIcHcGLxkU95Jsqq/I/WmhgIoGhaCWR0lcoBvf3C3CFfvX7WIjtnPac9\n iTfybxsaNtek6iNgNrTiM7OF0EkZUfuVgV2a/zJ5aaQDk8hIv1gPkik3OY9SFA=="
        ],
        "X-CSE-ConnectionGUID": "/14RFrhgR5unvqhV8VxJ4Q==",
        "X-CSE-MsgGUID": "QdLfL4kGR8aUpmaHoZQL8Q==",
        "X-IronPort-AV": "E=Sophos;i=\"6.17,287,1747692000\"; d=\"scan'208\";a=\"45742151\"",
        "X-CheckPoint": "{689DD0E7-34-9821D066-F5C64F68}",
        "X-MAIL-CPID": "F3B9A5CB711535EC3C8BBE5BF32E7590_2",
        "X-Control-Analysis": "str=0001.0A002121.689DD085.004E, ss=1, re=0.000,\n recu=0.000,\n reip=0.000, cl=1, cld=1, fgs=0",
        "From": "Max Merchel <Max.Merchel@ew.tq-group.com>",
        "To": "Tom Rini <trini@konsulko.com>, Joe Hershberger <joe.hershberger@ni.com>,\n Ramon Fried <rfried.dev@gmail.com>",
        "Cc": "Max Merchel <Max.Merchel@ew.tq-group.com>, u-boot@lists.denx.de,\n u-boot@ew.tq-group.com",
        "Subject": "[PATCH] net: add missing SPDX-License-Identifier for files\n originating from LiMon",
        "Date": "Thu, 14 Aug 2025 14:03:52 +0200",
        "Message-ID": "<20250814120354.235147-1-Max.Merchel@ew.tq-group.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Last-TLS-Session-Version": "TLSv1.3",
        "X-Mailman-Approved-At": "Thu, 14 Aug 2025 17:15:25 +0200",
        "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 header of LiMon imported files reference a License file which\ndoes not exist in U-Boot. Some files were forgotten when adding the\nSPDX-License-Identifier.\nThe LiMon files were originally licensed under GPLv2 as can be seen in\ncommit [2ea91039].\n\nBased on this commit, add the correct SPDX license identifier.\nWhile at it drop the reference to the non-existing License file from all\nLiMon files and update the SPDX-License-Identifier to SPDX version 3.\n\nSigned-off-by: Max Merchel <Max.Merchel@ew.tq-group.com>\n---\n include/net-legacy.h | 3 +--\n include/net/tftp.h   | 2 +-\n net/arp.c            | 3 +--\n net/arp.h            | 3 +--\n net/bootp.c          | 2 +-\n net/bootp.h          | 2 +-\n net/cdp.c            | 3 +--\n net/cdp.h            | 3 +--\n net/net.c            | 3 +--\n net/net_rand.h       | 2 +-\n net/ping.c           | 3 +--\n net/ping.h           | 3 +--\n 12 files changed, 12 insertions(+), 20 deletions(-)",
    "diff": "diff --git a/include/net-legacy.h b/include/net-legacy.h\nindex a7dbcec1506..050fc352920 100644\n--- a/include/net-legacy.h\n+++ b/include/net-legacy.h\n@@ -1,9 +1,8 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tLiMon Monitor (LiMon) - Network.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\n  * History\n  *\t9/16/00\t  bor  adapted to TQM823L/STK8xxL board, RARP/TFTP boot added\ndiff --git a/include/net/tftp.h b/include/net/tftp.h\nindex c411c9b2e65..c7e14817280 100644\n--- a/include/net/tftp.h\n+++ b/include/net/tftp.h\n@@ -1,10 +1,10 @@\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tLiMon - BOOTP/TFTP.\n  *\n  *\tCopyright 1994, 1995, 2000 Neil Russell.\n  *\tCopyright 2011 Comelit Group SpA\n  *\t               Luca Ceresoli <luca.ceresoli@comelit.it>\n- *\t(See License)\n  */\n \n #ifndef __TFTP_H__\ndiff --git a/net/arp.c b/net/arp.c\nindex bc1e25f941f..4801dca6213 100644\n--- a/net/arp.c\n+++ b/net/arp.c\n@@ -1,9 +1,8 @@\n-// SPDX-License-Identifier: GPL-2.0\n+// SPDX-License-Identifier: GPL-2.0-only\n /*\n  *\tCopied from Linux Monitor (LiMon) - Networking.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2002 Wolfgang Denk, wd@denx.de\ndiff --git a/net/arp.h b/net/arp.h\nindex c50885fb9a5..882f3ec31fc 100644\n--- a/net/arp.h\n+++ b/net/arp.h\n@@ -1,9 +1,8 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tCopied from Linux Monitor (LiMon) - Networking.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2002 Wolfgang Denk, wd@denx.de\ndiff --git a/net/bootp.c b/net/bootp.c\nindex 95d906e3b2d..19e7453daed 100644\n--- a/net/bootp.c\n+++ b/net/bootp.c\n@@ -1,8 +1,8 @@\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tBased on LiMon - BOOTP.\n  *\n  *\tCopyright 1994, 1995, 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2004 Wolfgang Denk, wd@denx.de\ndiff --git a/net/bootp.h b/net/bootp.h\nindex 68320bf66cf..47c743479e7 100644\n--- a/net/bootp.h\n+++ b/net/bootp.h\n@@ -1,8 +1,8 @@\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tCopied from LiMon - BOOTP.\n  *\n  *\tCopyright 1994, 1995, 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Paolo Scaffardi\n  */\n \ndiff --git a/net/cdp.c b/net/cdp.c\nindex d4cfc587ee3..6e404981d4a 100644\n--- a/net/cdp.c\n+++ b/net/cdp.c\n@@ -1,9 +1,8 @@\n-// SPDX-License-Identifier: GPL-2.0\n+// SPDX-License-Identifier: GPL-2.0-only\n /*\n  *\tCopied from Linux Monitor (LiMon) - Networking.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2002 Wolfgang Denk, wd@denx.de\ndiff --git a/net/cdp.h b/net/cdp.h\nindex 16ccbf4b59e..606fabba957 100644\n--- a/net/cdp.h\n+++ b/net/cdp.h\n@@ -1,9 +1,8 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tCopied from Linux Monitor (LiMon) - Networking.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2002 Wolfgang Denk, wd@denx.de\ndiff --git a/net/net.c b/net/net.c\nindex 5219367e391..ac9b65c0ca4 100644\n--- a/net/net.c\n+++ b/net/net.c\n@@ -1,9 +1,8 @@\n-// SPDX-License-Identifier: GPL-2.0\n+// SPDX-License-Identifier: GPL-2.0-only\n /*\n  *\tCopied from Linux Monitor (LiMon) - Networking.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2002 Wolfgang Denk, wd@denx.de\ndiff --git a/net/net_rand.h b/net/net_rand.h\nindex 686e85f2b53..e21dff8569b 100644\n--- a/net/net_rand.h\n+++ b/net/net_rand.h\n@@ -1,8 +1,8 @@\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tCopied from LiMon - BOOTP.\n  *\n  *\tCopyright 1994, 1995, 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Paolo Scaffardi\n  */\n \ndiff --git a/net/ping.c b/net/ping.c\nindex 075df3663fe..fb981f62084 100644\n--- a/net/ping.c\n+++ b/net/ping.c\n@@ -1,9 +1,8 @@\n-// SPDX-License-Identifier: GPL-2.0\n+// SPDX-License-Identifier: GPL-2.0-only\n /*\n  *\tCopied from Linux Monitor (LiMon) - Networking.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2002 Wolfgang Denk, wd@denx.de\ndiff --git a/net/ping.h b/net/ping.h\nindex 76ac225fc07..739f128408e 100644\n--- a/net/ping.h\n+++ b/net/ping.h\n@@ -1,9 +1,8 @@\n-/* SPDX-License-Identifier: GPL-2.0 */\n+/* SPDX-License-Identifier: GPL-2.0-only */\n /*\n  *\tCopied from Linux Monitor (LiMon) - Networking.\n  *\n  *\tCopyright 1994 - 2000 Neil Russell.\n- *\t(See License)\n  *\tCopyright 2000 Roland Borde\n  *\tCopyright 2000 Paolo Scaffardi\n  *\tCopyright 2000-2002 Wolfgang Denk, wd@denx.de\n",
    "prefixes": []
}