Patch Detail
Show a patch.
GET /api/patches/23066/?format=api
{ "id": 23066, "url": "https://patchwork.libcamera.org/api/patches/23066/?format=api", "web_url": "https://patchwork.libcamera.org/patch/23066/", "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": "<20250328040338.71440-2-tho3.nguyen@lge.com>", "date": "2025-03-28T04:03:38", "name": "dma_buf_allocator.h: Fix build with gcc-15", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": false, "hash": "dfb5a15fad5f5335f12afb11c7d2a9adb280825f", "submitter": { "id": 221, "url": "https://patchwork.libcamera.org/api/people/221/?format=api", "name": "THO DAT NGUYEN/LGEDV ADVANCED PLATFORM TEAM", "email": "tho3.nguyen@lge.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/23066/mbox/", "series": [ { "id": 5089, "url": "https://patchwork.libcamera.org/api/series/5089/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5089", "date": "2025-03-28T04:03:38", "name": "dma_buf_allocator.h: Fix build with gcc-15", "version": 1, "mbox": "https://patchwork.libcamera.org/series/5089/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/23066/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/23066/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 F1BB0C323E\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 28 Mar 2025 06:24:58 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 213C568971;\n\tFri, 28 Mar 2025 07:24:56 +0100 (CET)", "from lgeamrelo11.lge.com (lgeamrelo12.lge.com [156.147.23.52])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id CB1886894F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 28 Mar 2025 05:03:45 +0100 (CET)", "from unknown (HELO lgemrelse6q.lge.com) (156.147.1.121)\n\tby 156.147.23.52 with ESMTP; 28 Mar 2025 13:03:42 +0900", "from unknown (HELO tho3-nguyen-weboscsm.bee-live.svc.cluster.local)\n\t(10.185.60.40)\n\tby 156.147.1.121 with ESMTP; 28 Mar 2025 13:03:42 +0900" ], "X-Original-SENDERIP": [ "156.147.1.121", "10.185.60.40" ], "X-Original-MAILFROM": [ "tho3.nguyen@lge.com", "tho3.nguyen@lge.com" ], "From": "\"tho3.nguyen\" <tho3.nguyen@lge.com>", "To": "libcamera-devel@lists.libcamera.org", "Cc": "\"tho3.nguyen\" <tho3.nguyen@lge.com>", "Subject": "[PATCH] dma_buf_allocator.h: Fix build with gcc-15", "Date": "Fri, 28 Mar 2025 13:03:38 +0900", "Message-Id": "<20250328040338.71440-2-tho3.nguyen@lge.com>", "X-Mailer": "git-send-email 2.34.1", "In-Reply-To": "<20250328040338.71440-1-tho3.nguyen@lge.com>", "References": "<20250328040338.71440-1-tho3.nguyen@lge.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Mailman-Approved-At": "Fri, 28 Mar 2025 07:24:54 +0100", "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": "To fix:\n...\nIn file included from ../git/src/libcamera/dma_buf_allocator.cpp:9:\n../git/include/libcamera/internal/dma_buf_allocator.h:66:19: error: 'uint64_t' has not been declared\n 66 | void sync(uint64_t step);\n | ^~~~~~~~\n../git/include/libcamera/internal/dma_buf_allocator.h:17:1: note: 'uint64_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'\n...\n\nSigned-off-by: tho3.nguyen <tho3.nguyen@lge.com>\n---\n include/libcamera/internal/dma_buf_allocator.h | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/include/libcamera/internal/dma_buf_allocator.h b/include/libcamera/internal/dma_buf_allocator.h\nindex 13600915..c22b9bbd 100644\n--- a/include/libcamera/internal/dma_buf_allocator.h\n+++ b/include/libcamera/internal/dma_buf_allocator.h\n@@ -11,6 +11,7 @@\n #include <stdint.h>\n #include <string>\n #include <vector>\n+#include <cstdint>\n \n #include <libcamera/base/flags.h>\n #include <libcamera/base/shared_fd.h>\n", "prefixes": [] }