Show a patch.

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

{
    "id": 3186,
    "url": "https://patchwork.libcamera.org/api/patches/3186/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/3186/",
    "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": "<20200318205034.949531-9-jacopo@jmondi.org>",
    "date": "2020-03-18T20:50:31",
    "name": "[libcamera-devel,v7,08/11] media: v4l2-ctrls: Sort includes alphabetically",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "3b244dce63bfa6b5cfae2c530436933d202d44fe",
    "submitter": {
        "id": 3,
        "url": "https://patchwork.libcamera.org/api/people/3/?format=api",
        "name": "Jacopo Mondi",
        "email": "jacopo@jmondi.org"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/3186/mbox/",
    "series": [
        {
            "id": 736,
            "url": "https://patchwork.libcamera.org/api/series/736/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=736",
            "date": "2020-03-18T20:50:23",
            "name": "media: Report camera sensor properties",
            "version": 7,
            "mbox": "https://patchwork.libcamera.org/series/736/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/3186/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/3186/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<jacopo@jmondi.org>",
        "Received": [
            "from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net\n\t[217.70.183.200])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A5CA860415\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 Mar 2020 21:48:12 +0100 (CET)",
            "from localhost.localdomain (2-224-242-101.ip172.fastwebnet.it\n\t[2.224.242.101]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 234D120002;\n\tWed, 18 Mar 2020 20:48:07 +0000 (UTC)"
        ],
        "X-Originating-IP": "2.224.242.101",
        "From": "Jacopo Mondi <jacopo@jmondi.org>",
        "To": "Mauro Carvalho Chehab <mchehab@kernel.org>,\n\tHans Verkuil <hverkuil-cisco@xs4all.nl>,\n\tSakari Ailus <sakari.ailus@linux.intel.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>, tfiga@google.com,\n\tpavel@ucw.cz",
        "Cc": "Jacopo Mondi <jacopo@jmondi.org>,\n\tlinux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE\n\t(V4L/DVB)), libcamera-devel@lists.libcamera.org",
        "Date": "Wed, 18 Mar 2020 21:50:31 +0100",
        "Message-Id": "<20200318205034.949531-9-jacopo@jmondi.org>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200318205034.949531-1-jacopo@jmondi.org>",
        "References": "<20200318205034.949531-1-jacopo@jmondi.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v7 08/11] media: v4l2-ctrls: Sort includes\n\talphabetically",
        "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>",
        "X-List-Received-Date": "Wed, 18 Mar 2020 20:48:12 -0000"
    },
    "content": "Before adding a new include directive, sort the existing ones in\nalphabetical order.\n\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n drivers/media/v4l2-core/v4l2-ctrls.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c\nindex e0aa24e8ad84..4951a373015b 100644\n--- a/drivers/media/v4l2-core/v4l2-ctrls.c\n+++ b/drivers/media/v4l2-core/v4l2-ctrls.c\n@@ -9,14 +9,14 @@\n #define pr_fmt(fmt) \"v4l2-ctrls: \" fmt\n \n #include <linux/ctype.h>\n+#include <linux/export.h>\n #include <linux/mm.h>\n #include <linux/slab.h>\n-#include <linux/export.h>\n-#include <media/v4l2-ioctl.h>\n-#include <media/v4l2-device.h>\n #include <media/v4l2-ctrls.h>\n-#include <media/v4l2-event.h>\n #include <media/v4l2-dev.h>\n+#include <media/v4l2-device.h>\n+#include <media/v4l2-event.h>\n+#include <media/v4l2-ioctl.h>\n \n #define dprintk(vdev, fmt, arg...) do {\t\t\t\t\t\\\n \tif (!WARN_ON(!(vdev)) && ((vdev)->dev_debug & V4L2_DEV_DEBUG_CTRL)) \\\n",
    "prefixes": [
        "libcamera-devel",
        "v7",
        "08/11"
    ]
}