Patch Detail
Show a patch.
GET /api/patches/1125/?format=api
{ "id": 1125, "url": "https://patchwork.libcamera.org/api/patches/1125/?format=api", "web_url": "https://patchwork.libcamera.org/patch/1125/", "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": "<20190428232322.31151-1-laurent.pinchart@ideasonboard.com>", "date": "2019-04-28T23:23:22", "name": "[libcamera-devel] libcamera: device_enumerator_udev: Include missing header", "commit_ref": "7022136aaa66e06e8b6400ae247a9c151099dc9b", "pull_url": null, "state": "accepted", "archived": false, "hash": "2733219d222fb2f904225c80b2b3cca4a34318d7", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/1125/mbox/", "series": [ { "id": 281, "url": "https://patchwork.libcamera.org/api/series/281/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=281", "date": "2019-04-28T23:23:22", "name": "[libcamera-devel] libcamera: device_enumerator_udev: Include missing header", "version": 1, "mbox": "https://patchwork.libcamera.org/series/281/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/1125/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/1125/checks/", "tags": {}, "headers": { "Return-Path": "<laurent.pinchart@ideasonboard.com>", "Received": [ "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id BC312600EA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Apr 2019 01:23:38 +0200 (CEST)", "from pendragon.station (net-37-182-44-227.cust.vodafonedsl.it\n\t[37.182.44.227])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 465552D1\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Apr 2019 01:23:38 +0200 (CEST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1556493818;\n\tbh=nEr3Qxkif8v9V+aUTqfaNrIQcubTRIfSre8MEVT3rzM=;\n\th=From:To:Subject:Date:From;\n\tb=BNzeTDhWlXVwEepMFskRx4s8RfWWJ5sc456lecchZHTdfO3ieWBOnV0e6zmurIN83\n\tl5DSSYUYiEd/pBOl85kIEx6ve5rCKFWFQJ7zrrxrfClQegsaRpJd0pxfZGECp5DR6Y\n\tEWfodD5GM8LVG6oSVZ6Egvsz2o4zmEfOgguKMS/E=", "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "To": "libcamera-devel@lists.libcamera.org", "Date": "Mon, 29 Apr 2019 02:23:22 +0300", "Message-Id": "<20190428232322.31151-1-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.21.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH] libcamera: device_enumerator_udev:\n\tInclude missing header", "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": "Sun, 28 Apr 2019 23:23:38 -0000" }, "content": "The makedev() macro is defined in sys/sysmacros.h, include the header\nexplicitly.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/device_enumerator_udev.cpp | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/src/libcamera/device_enumerator_udev.cpp b/src/libcamera/device_enumerator_udev.cpp\nindex cb2d21b90506..86f6ca184698 100644\n--- a/src/libcamera/device_enumerator_udev.cpp\n+++ b/src/libcamera/device_enumerator_udev.cpp\n@@ -11,6 +11,7 @@\n #include <libudev.h>\n #include <string.h>\n #include <sys/ioctl.h>\n+#include <sys/sysmacros.h>\n #include <unistd.h>\n \n #include <libcamera/event_notifier.h>\n", "prefixes": [ "libcamera-devel" ] }