Show a patch.

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

{
    "id": 12801,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/12801/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/12801/",
    "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": "<20210704221028.30551-1-laurent.pinchart@ideasonboard.com>",
    "date": "2021-07-04T22:10:28",
    "name": "[libcamera-devel] libcamera: device_enumerator: Drop inclusion of linux/media.h",
    "commit_ref": "fb37998816724349543da697b79feeff27826c6b",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "713e0b54bbb54cfcc2dd5e7ad0f1dd18691a62d3",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": {
        "id": 14,
        "url": "https://patchwork.libcamera.org/api/1.1/users/14/?format=api",
        "username": "pinchartl",
        "first_name": "Laurent",
        "last_name": "Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "mbox": "https://patchwork.libcamera.org/patch/12801/mbox/",
    "series": [
        {
            "id": 2205,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2205/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2205",
            "date": "2021-07-04T22:10:28",
            "name": "[libcamera-devel] libcamera: device_enumerator: Drop inclusion of linux/media.h",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2205/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/12801/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/12801/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 CEEC1BD794\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun,  4 Jul 2021 22:11:14 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 10D7068503;\n\tMon,  5 Jul 2021 00:11:14 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 4E1C960285\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  5 Jul 2021 00:11:12 +0200 (CEST)",
            "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 9FD26E7\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  5 Jul 2021 00:11:11 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"HbDxcyW0\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1625436671;\n\tbh=hGVQ9a2ErCguklfkfdA2+3SLY7AvBUSZ6VXe9U/zwZs=;\n\th=From:To:Subject:Date:From;\n\tb=HbDxcyW0P7NfQJ2mLILuZuxZcswF7mVCmxcPEJ77mTRi7i7VME1L7ARvZOLmI0qmX\n\t59PDbo5esklfmt5GxQp2OMe0kfCkpuMm+/zvU5KakyL7OxASPiGIbzN5t33cPlwV2+\n\teE4kBcRQzPm6KSoqoC4l/SwHx3aT+OCR+PQM3kO0=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon,  5 Jul 2021 01:10:28 +0300",
        "Message-Id": "<20210704221028.30551-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] libcamera: device_enumerator: Drop\n\tinclusion of linux/media.h",
        "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": "device_enumerator.h doesn't need to include linux/media.h. Drop\ninclusion of the header.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/libcamera/internal/device_enumerator.h | 2 --\n 1 file changed, 2 deletions(-)",
    "diff": "diff --git a/include/libcamera/internal/device_enumerator.h b/include/libcamera/internal/device_enumerator.h\nindex 222caf75a0db..baccfc000d87 100644\n--- a/include/libcamera/internal/device_enumerator.h\n+++ b/include/libcamera/internal/device_enumerator.h\n@@ -11,8 +11,6 @@\n #include <string>\n #include <vector>\n \n-#include <linux/media.h>\n-\n #include <libcamera/base/signal.h>\n \n namespace libcamera {\n",
    "prefixes": [
        "libcamera-devel"
    ]
}