Show a patch.

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

{
    "id": 15068,
    "url": "https://patchwork.libcamera.org/api/patches/15068/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15068/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/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": "<20211207224512.753979-3-djrscally@gmail.com>",
    "date": "2021-12-07T22:45:05",
    "name": "[libcamera-devel,v3,2/9] include: linux: Add MEDIA_LNK_FL_ANCILLARY_LINK",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "5465ac029d5e8005c7b11ef42e387b521df5e0a7",
    "submitter": {
        "id": 90,
        "url": "https://patchwork.libcamera.org/api/people/90/?format=api",
        "name": "Daniel Scally",
        "email": "djrscally@gmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15068/mbox/",
    "series": [
        {
            "id": 2824,
            "url": "https://patchwork.libcamera.org/api/series/2824/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2824",
            "date": "2021-12-07T22:45:03",
            "name": "Enumerate CameraLens by following sensor's ancillary links",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/2824/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15068/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15068/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 BC0B7BDB13\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue,  7 Dec 2021 22:45:33 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6F1736088C;\n\tTue,  7 Dec 2021 23:45:33 +0100 (CET)",
            "from mail-wr1-x436.google.com (mail-wr1-x436.google.com\n\t[IPv6:2a00:1450:4864:20::436])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F14E76087E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  7 Dec 2021 23:45:29 +0100 (CET)",
            "by mail-wr1-x436.google.com with SMTP id a18so741822wrn.6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 07 Dec 2021 14:45:29 -0800 (PST)",
            "from localhost.localdomain\n\t(cpc141996-chfd3-2-0-cust928.12-3.cable.virginm.net. [86.13.91.161])\n\tby smtp.gmail.com with ESMTPSA id\n\ty12sm980332wrn.73.2021.12.07.14.45.28\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tTue, 07 Dec 2021 14:45:29 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"QASlzDhr\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=B1WxVvmYOxvVBIcKvtwZ3HXKjK2l2dof/9nJ8aC1rkw=;\n\tb=QASlzDhrqK7uNKu26oKJtauXE8cOsmrx6HV1Y6yYAwgl1DHn7lMgdL9TaCjj3GEMKj\n\tBPmq5l5D9YzlOBaEdP5JZ55A4+RA03MASxMDX91n8WETpO7C8KHfiJQz1vs8ZMkTwEU1\n\t/GBh3mCaiAEDKRRCAjeV9mzRK9nOj5Eck1Sf509iteDnMOEcd8Q+gBdg8xcyWl42fVi8\n\tN+/kO3o4LFZcMabjeZ0fGPMz5KDez169dUvKvnhCoFCFMsXiXHFWs6n5J/GMWoWEc9gu\n\taz3ZXQEuZIbQ8UlvB/+mo0SAX3G7wSiSPzxxbAFiYdgWrG4xUZnET1K1w2Nh1GkNrC8v\n\tN4xQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20210112;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=B1WxVvmYOxvVBIcKvtwZ3HXKjK2l2dof/9nJ8aC1rkw=;\n\tb=TTz7RXfzCS3leOAetuJUWB9/xqWvqVhry+mWnPdXxbm44OLPD4SPxveFtK3OsaT0Qc\n\tcIIfFUI+fgipCeSse0UcpTJuDNb0wIR97jxYbvdIfGhic6IqSPnED6sSEWh7hxVt4pLc\n\t6YxUcQgjOD+HqW3oITlxgcEaejVWMIcIu7c/DAtCT+pDn+sSjBAi0vCXem3oGmy58WKl\n\t8p2HF2wK6ropQCiTKgt/8LoElmoiDaZdKian56PpEAf6b45fFqJyX6OL+I8Cmzju/mbl\n\t2dYnBObtjkx9lvhWrqcwef7Ryk3qWF4rZO0kgedEf2u+2m7wuShtKWMUDx19tXkHcD8v\n\tK6yg==",
        "X-Gm-Message-State": "AOAM5329vaqz4yT2mBns37I4rrSB2QrRMSWAnIG8oH1vIApWxijvGgf5\n\tpWj3kJy2dAR0S3KeBxv2T2YahPiNsOc=",
        "X-Google-Smtp-Source": "ABdhPJwpT/geZTSPZeLNoqqsdytJ9NmvRS4g7g+RnGNPsUinMFF03xVOihC3rfO8eHoR37JryeYfVA==",
        "X-Received": "by 2002:a05:6000:2ca:: with SMTP id\n\to10mr54347012wry.244.1638917129654; \n\tTue, 07 Dec 2021 14:45:29 -0800 (PST)",
        "From": "Daniel Scally <djrscally@gmail.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue,  7 Dec 2021 22:45:05 +0000",
        "Message-Id": "<20211207224512.753979-3-djrscally@gmail.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20211207224512.753979-1-djrscally@gmail.com>",
        "References": "<20211207224512.753979-1-djrscally@gmail.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 2/9] include: linux: Add\n\tMEDIA_LNK_FL_ANCILLARY_LINK",
        "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": "Add the new media link type macro to the header so we can use it to\nidentify the new links.\n\nSigned-off-by: Daniel Scally <djrscally@gmail.com>\n---\nChanges in v3:\n\n\t- New patch\n\n include/linux/media.h | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/include/linux/media.h b/include/linux/media.h\nindex 17432318..e3123d1a 100644\n--- a/include/linux/media.h\n+++ b/include/linux/media.h\n@@ -222,6 +222,7 @@ struct media_pad_desc {\n #define MEDIA_LNK_FL_LINK_TYPE\t\t\t(0xf << 28)\n #  define MEDIA_LNK_FL_DATA_LINK\t\t(0 << 28)\n #  define MEDIA_LNK_FL_INTERFACE_LINK\t\t(1 << 28)\n+#  define MEDIA_LNK_FL_ANCILLARY_LINK\t\t(2 << 28)\n \n struct media_link_desc {\n \tstruct media_pad_desc source;\n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "2/9"
    ]
}