Show a patch.

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

{
    "id": 554,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/554/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/554/",
    "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": "<20190212222021.28517-2-jacopo@jmondi.org>",
    "date": "2019-02-12T22:20:18",
    "name": "[libcamera-devel,1/4] libcamera: v4l2_subdevice: Forward-declare MediaEntity",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "c757c4b71b5c7c6c12c98e918350045363d9e1d6",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/1.1/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/554/mbox/",
    "series": [
        {
            "id": 175,
            "url": "https://patchwork.libcamera.org/api/1.1/series/175/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=175",
            "date": "2019-02-12T22:20:17",
            "name": "libcamera: mixed updated",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/175/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/554/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/554/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<jacopo@jmondi.org>",
        "Received": [
            "from relay11.mail.gandi.net (relay11.mail.gandi.net\n\t[217.70.178.231])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id EE68F60B21\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 12 Feb 2019 23:20:07 +0100 (CET)",
            "from uno.lan (2-224-242-101.ip172.fastwebnet.it [2.224.242.101])\n\t(Authenticated sender: jacopo@jmondi.org)\n\tby relay11.mail.gandi.net (Postfix) with ESMTPSA id 344BD100002;\n\tTue, 12 Feb 2019 22:20:06 +0000 (UTC)"
        ],
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue, 12 Feb 2019 23:20:18 +0100",
        "Message-Id": "<20190212222021.28517-2-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190212222021.28517-1-jacopo@jmondi.org>",
        "References": "<20190212222021.28517-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 1/4] libcamera: v4l2_subdevice:\n\tForward-declare MediaEntity",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "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>",
        "X-List-Received-Date": "Tue, 12 Feb 2019 22:20:08 -0000"
    },
    "content": "The V4L2Subdevice class uses MediaEntity instances, and the\ncorresponding header is not included.\n\nFix this by forward declaring the MediaEntity class.\n\nFixes: 468176fa07d9 (\"libcamera: Add V4L2Subdevice\")\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n src/libcamera/include/v4l2_subdevice.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/src/libcamera/include/v4l2_subdevice.h b/src/libcamera/include/v4l2_subdevice.h\nindex 8fd666078985..ffa92100ffbc 100644\n--- a/src/libcamera/include/v4l2_subdevice.h\n+++ b/src/libcamera/include/v4l2_subdevice.h\n@@ -12,6 +12,7 @@\n namespace libcamera {\n \n struct Rectangle;\n+class MediaEntity;\n \n struct V4L2SubdeviceFormat {\n \tuint32_t mbus_code;\n",
    "prefixes": [
        "libcamera-devel",
        "1/4"
    ]
}