Show a patch.

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

{
    "id": 22486,
    "url": "https://patchwork.libcamera.org/api/patches/22486/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22486/",
    "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": "<20250109014506.27619-1-laurent.pinchart@ideasonboard.com>",
    "date": "2025-01-09T01:45:06",
    "name": "libcamera: include: Include missing stdint.h header",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8ccd8c33ade0700af567367c3051aaafe53ada50",
    "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/22486/mbox/",
    "series": [
        {
            "id": 4937,
            "url": "https://patchwork.libcamera.org/api/series/4937/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4937",
            "date": "2025-01-09T01:45:06",
            "name": "libcamera: include: Include missing stdint.h header",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4937/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22486/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22486/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 4CF49C32F2\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  9 Jan 2025 01:45:13 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 50726684E2;\n\tThu,  9 Jan 2025 02:45:12 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 2D067608AA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  9 Jan 2025 02:45:10 +0100 (CET)",
            "from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id B8F3C1E3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  9 Jan 2025 02:44:16 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"GAa1jXlN\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1736387056;\n\tbh=mbFAFHbiwTBCyCdqBPXR0MBSw4ksATqo1hqPSgEYQaY=;\n\th=From:To:Subject:Date:From;\n\tb=GAa1jXlN4b+RSTE5RVIVRHC7/DRCkvemzGZ9XoX8M7uDo7cR/TKfD2Ek9KmJVhRzH\n\tCokJOhNQuCDwUDNqqXPnjVI1/mJogN+Kb3jD0ho3bSp4JgP69W9LlIgLDYLG1Mdjxk\n\tyb0VXDkZQamPDPKISgH8pqilk4UKkx774S3PLg9g=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH] libcamera: include: Include missing stdint.h header",
        "Date": "Thu,  9 Jan 2025 03:45:06 +0200",
        "Message-ID": "<20250109014506.27619-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.45.2",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Many libcamera headers that use standard C integer types do not include\nstdint.h. Fix the omission.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n include/libcamera/base/utils.h                    | 1 +\n include/libcamera/internal/camera.h               | 1 +\n include/libcamera/internal/camera_lens.h          | 1 +\n include/libcamera/internal/camera_sensor.h        | 1 +\n include/libcamera/internal/framebuffer.h          | 1 +\n include/libcamera/internal/ipa_data_serializer.h  | 1 +\n include/libcamera/internal/ipc_pipe.h             | 1 +\n include/libcamera/internal/ipc_pipe_unixsocket.h  | 1 +\n include/libcamera/internal/request.h              | 1 +\n include/libcamera/internal/tracepoints/request.tp | 2 ++\n include/libcamera/internal/v4l2_device.h          | 1 +\n include/libcamera/internal/v4l2_subdevice.h       | 1 +\n 12 files changed, 13 insertions(+)\n\n\nbase-commit: 340bb7aa63d18516bcb1d21a1b7f10ba039903cf",
    "diff": "diff --git a/include/libcamera/base/utils.h b/include/libcamera/base/utils.h\nindex 780aeda6a0ce732a..8d5c35782ee34e24 100644\n--- a/include/libcamera/base/utils.h\n+++ b/include/libcamera/base/utils.h\n@@ -13,6 +13,7 @@\n #include <iterator>\n #include <ostream>\n #include <sstream>\n+#include <stdint.h>\n #include <string.h>\n #include <string>\n #include <sys/time.h>\ndiff --git a/include/libcamera/internal/camera.h b/include/libcamera/internal/camera.h\nindex 2bb00bbcb6442b36..18f5c32a18e4def7 100644\n--- a/include/libcamera/internal/camera.h\n+++ b/include/libcamera/internal/camera.h\n@@ -11,6 +11,7 @@\n #include <list>\n #include <memory>\n #include <set>\n+#include <stdint.h>\n #include <string>\n \n #include <libcamera/base/class.h>\ndiff --git a/include/libcamera/internal/camera_lens.h b/include/libcamera/internal/camera_lens.h\nindex 5a4b993bb2dbcb3e..f347c5e0a5f3078f 100644\n--- a/include/libcamera/internal/camera_lens.h\n+++ b/include/libcamera/internal/camera_lens.h\n@@ -7,6 +7,7 @@\n #pragma once\n \n #include <memory>\n+#include <stdint.h>\n #include <string>\n \n #include <libcamera/base/class.h>\ndiff --git a/include/libcamera/internal/camera_sensor.h b/include/libcamera/internal/camera_sensor.h\nindex f6002c5f56448faa..13048f327bf2f626 100644\n--- a/include/libcamera/internal/camera_sensor.h\n+++ b/include/libcamera/internal/camera_sensor.h\n@@ -8,6 +8,7 @@\n #pragma once\n \n #include <memory>\n+#include <stdint.h>\n #include <string>\n #include <variant>\n #include <vector>\ndiff --git a/include/libcamera/internal/framebuffer.h b/include/libcamera/internal/framebuffer.h\nindex e6698a459432812b..97b49d42063f627b 100644\n--- a/include/libcamera/internal/framebuffer.h\n+++ b/include/libcamera/internal/framebuffer.h\n@@ -8,6 +8,7 @@\n #pragma once\n \n #include <memory>\n+#include <stdint.h>\n #include <utility>\n \n #include <libcamera/base/class.h>\ndiff --git a/include/libcamera/internal/ipa_data_serializer.h b/include/libcamera/internal/ipa_data_serializer.h\nindex 66d9a19fcc54509d..b4614f21d701db0d 100644\n--- a/include/libcamera/internal/ipa_data_serializer.h\n+++ b/include/libcamera/internal/ipa_data_serializer.h\n@@ -7,6 +7,7 @@\n \n #pragma once\n \n+#include <stdint.h>\n #include <string.h>\n #include <tuple>\n #include <type_traits>\ndiff --git a/include/libcamera/internal/ipc_pipe.h b/include/libcamera/internal/ipc_pipe.h\nindex a45607529cbf8a8e..418c4622ff82ba6d 100644\n--- a/include/libcamera/internal/ipc_pipe.h\n+++ b/include/libcamera/internal/ipc_pipe.h\n@@ -7,6 +7,7 @@\n \n #pragma once\n \n+#include <stdint.h>\n #include <vector>\n \n #include <libcamera/base/shared_fd.h>\ndiff --git a/include/libcamera/internal/ipc_pipe_unixsocket.h b/include/libcamera/internal/ipc_pipe_unixsocket.h\nindex 8c972613f314d5b1..845128096280a57a 100644\n--- a/include/libcamera/internal/ipc_pipe_unixsocket.h\n+++ b/include/libcamera/internal/ipc_pipe_unixsocket.h\n@@ -9,6 +9,7 @@\n \n #include <map>\n #include <memory>\n+#include <stdint.h>\n \n #include \"libcamera/internal/ipc_pipe.h\"\n #include \"libcamera/internal/ipc_unixsocket.h\"\ndiff --git a/include/libcamera/internal/request.h b/include/libcamera/internal/request.h\nindex 4e7d05b1e028079d..73e9bb5ccb0a2941 100644\n--- a/include/libcamera/internal/request.h\n+++ b/include/libcamera/internal/request.h\n@@ -10,6 +10,7 @@\n #include <chrono>\n #include <map>\n #include <memory>\n+#include <stdint.h>\n #include <unordered_set>\n \n #include <libcamera/base/event_notifier.h>\ndiff --git a/include/libcamera/internal/tracepoints/request.tp b/include/libcamera/internal/tracepoints/request.tp\nindex 4f367e91458be267..42c596850e80dab9 100644\n--- a/include/libcamera/internal/tracepoints/request.tp\n+++ b/include/libcamera/internal/tracepoints/request.tp\n@@ -5,6 +5,8 @@\n  * request.tp - Tracepoints for the request object\n  */\n \n+#include <stdint.h>\n+\n #include <libcamera/framebuffer.h>\n \n #include \"libcamera/internal/request.h\"\ndiff --git a/include/libcamera/internal/v4l2_device.h b/include/libcamera/internal/v4l2_device.h\nindex f5aa502482017325..affe52c2ad3ff7df 100644\n--- a/include/libcamera/internal/v4l2_device.h\n+++ b/include/libcamera/internal/v4l2_device.h\n@@ -10,6 +10,7 @@\n #include <map>\n #include <memory>\n #include <optional>\n+#include <stdint.h>\n #include <vector>\n \n #include <linux/videodev2.h>\ndiff --git a/include/libcamera/internal/v4l2_subdevice.h b/include/libcamera/internal/v4l2_subdevice.h\nindex 194382f84d97fbbc..fa2a4a21eefbb792 100644\n--- a/include/libcamera/internal/v4l2_subdevice.h\n+++ b/include/libcamera/internal/v4l2_subdevice.h\n@@ -10,6 +10,7 @@\n #include <memory>\n #include <optional>\n #include <ostream>\n+#include <stdint.h>\n #include <string>\n #include <vector>\n \n",
    "prefixes": []
}