Show a patch.

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

{
    "id": 26427,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/26427/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26427/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260405191443.1209948-12-laurent.pinchart@ideasonboard.com>",
    "date": "2026-04-05T19:14:43",
    "name": "[11/11] include: linux: Convert drm_fourcc.h to use SPDX",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fc418972c06cac86584006cab9b8c3ee54b591c5",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26427/mbox/",
    "series": [
        {
            "id": 5866,
            "url": "https://patchwork.libcamera.org/api/1.1/series/5866/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5866",
            "date": "2026-04-05T19:14:32",
            "name": "libcamera: Fix missing license information",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5866/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26427/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26427/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id D2C8BBEFBE\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  5 Apr 2026 19:15:05 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 7E8A062D98;\n\tSun,  5 Apr 2026 21:15:05 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EC8B362D99\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:15:02 +0200 (CEST)",
            "from killaraus.ideasonboard.com\n\t(2001-14ba-703d-e500--2a1.rev.dnainternet.fi\n\t[IPv6:2001:14ba:703d:e500::2a1])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id BC3FDC87\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun,  5 Apr 2026 21:13:36 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"W4vcoOXG\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1775416416;\n\tbh=oQ6Dpt93f+RsOZlyPURSM3QUFk+GmiGXiS0wy6GRBCY=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=W4vcoOXGFJuTPAFF0a3JLIbq9kR+HK96Bn3i/f7srNloQrkuO9V8MpywziDJ/KMhN\n\tqE7yOXP+Z8wyHAMSovBmZ7dI0mmbHu8Y7thLVIXYo9FIp7ecbE95bDh2dH9n6aI+NR\n\t4BT2vM5D+Fr5YuN7A+uSAdBe+8y4qLl0ullJs4SI=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH 11/11] include: linux: Convert drm_fourcc.h to use SPDX",
        "Date": "Sun,  5 Apr 2026 22:14:43 +0300",
        "Message-ID": "<20260405191443.1209948-12-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260405191443.1209948-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20260405191443.1209948-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "drm_fourcc.h is the last file in libcamera to miss machine-parseable\nlicense information. A patch to convert it to SPDX license identifiers\nhas been submitted to the kernel. Until it gets merged, apply the change\nlocally.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/linux/drm_fourcc.h | 20 +-------------------\n 1 file changed, 1 insertion(+), 19 deletions(-)",
    "diff": "diff --git a/include/linux/drm_fourcc.h b/include/linux/drm_fourcc.h\nindex 8d7d89551bb3..b444c7f895e4 100644\n--- a/include/linux/drm_fourcc.h\n+++ b/include/linux/drm_fourcc.h\n@@ -1,24 +1,6 @@\n+/* SPDX-License-Identifier: MIT */\n /*\n  * Copyright 2011 Intel Corporation\n- *\n- * Permission is hereby granted, free of charge, to any person obtaining a\n- * copy of this software and associated documentation files (the \"Software\"),\n- * to deal in the Software without restriction, including without limitation\n- * the rights to use, copy, modify, merge, publish, distribute, sublicense,\n- * and/or sell copies of the Software, and to permit persons to whom the\n- * Software is furnished to do so, subject to the following conditions:\n- *\n- * The above copyright notice and this permission notice (including the next\n- * paragraph) shall be included in all copies or substantial portions of the\n- * Software.\n- *\n- * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL\n- * VA LINUX SYSTEMS AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR\n- * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,\n- * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n- * OTHER DEALINGS IN THE SOFTWARE.\n  */\n \n #ifndef DRM_FOURCC_H\n",
    "prefixes": [
        "11/11"
    ]
}