Show a patch.

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

{
    "id": 25736,
    "url": "https://patchwork.libcamera.org/api/patches/25736/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/25736/",
    "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": "<20260113000808.15395-17-laurent.pinchart@ideasonboard.com>",
    "date": "2026-01-13T00:07:48",
    "name": "[16/36] libcamera: yaml_parser: Drop unneeded \\fn Doxygen commands",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b4bddde55331e564bc3f8dff2c9af55ba9737113",
    "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/25736/mbox/",
    "series": [
        {
            "id": 5703,
            "url": "https://patchwork.libcamera.org/api/series/5703/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5703",
            "date": "2026-01-13T00:07:32",
            "name": "libcamera: Global configuration file improvements",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5703/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/25736/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/25736/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 2500BC3274\n\tfor <parsemail@patchwork.libcamera.org>;\n\tTue, 13 Jan 2026 00:08:57 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D3A4461FE2;\n\tTue, 13 Jan 2026 01:08:56 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 6037F61FDF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 13 Jan 2026 01:08:54 +0100 (CET)",
            "from pendragon.ideasonboard.com (81-175-209-152.bb.dnainternet.fi\n\t[81.175.209.152])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id B8ACBE01\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 13 Jan 2026 01:08:28 +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=\"pF+0RGOu\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1768262908;\n\tbh=dLCWBdsPXR0iaJdNPwthHIupa/eigp5hI/lxGEHYh1s=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=pF+0RGOuFn6sHDDLFTUuh+P4ok5MB2HPKSxEet7wwqABbZrNh6VGt+bsuPdiNszVd\n\tD3uj09ej+gCb05ZfjRd5Q07suza2rLh2Anjn8GAauDJy8XKmRiUeKZ/AM/qh+xl141\n\tmDv7cHvf+2XJiy50W+PGyweXjRQnA2z63nzVdffM=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH 16/36] libcamera: yaml_parser: Drop unneeded \\fn Doxygen\n\tcommands",
        "Date": "Tue, 13 Jan 2026 02:07:48 +0200",
        "Message-ID": "<20260113000808.15395-17-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.51.2",
        "In-Reply-To": "<20260113000808.15395-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20260113000808.15395-1-laurent.pinchart@ideasonboard.com>",
        "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": "There's no need to specify the function name in Doxygen comment blocks\nwith \\fn if the documentation directly precedes the function definition.\nDrop the unneeded \\fn.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/yaml_parser.cpp | 7 -------\n 1 file changed, 7 deletions(-)",
    "diff": "diff --git a/src/libcamera/yaml_parser.cpp b/src/libcamera/yaml_parser.cpp\nindex 46c1fb9bce7e..0ef1f3ea303b 100644\n--- a/src/libcamera/yaml_parser.cpp\n+++ b/src/libcamera/yaml_parser.cpp\n@@ -86,7 +86,6 @@ YamlObject::~YamlObject() = default;\n  */\n \n /**\n- * \\fn YamlObject::size()\n  * \\brief Retrieve the number of elements in a dictionary or list YamlObject\n  *\n  * This function retrieves the size of the YamlObject, defined as the number of\n@@ -541,7 +540,6 @@ YamlParserContext::~YamlParserContext()\n }\n \n /**\n- * \\fn YamlParserContext::init()\n  * \\brief Initialize a parser with an opened file for parsing\n  * \\param[in] fh The YAML file to parse\n  *\n@@ -580,7 +578,6 @@ int YamlParserContext::yamlRead(void *data, unsigned char *buffer, size_t size,\n }\n \n /**\n- * \\fn YamlParserContext::nextEvent()\n  * \\brief Get the next event\n  *\n  * Get the next event in the current YAML event stream, and return nullptr when\n@@ -609,7 +606,6 @@ YamlParserContext::EventPtr YamlParserContext::nextEvent()\n }\n \n /**\n- * \\fn YamlParserContext::parseContent()\n  * \\brief Parse the content of a YAML document\n  * \\param[in] yamlObject The result of YamlObject\n  *\n@@ -648,7 +644,6 @@ int YamlParserContext::parseContent(YamlObject &yamlObject)\n }\n \n /**\n- * \\fn YamlParserContext::readValue()\n  * \\brief Parse event scalar and fill its content into a string\n  *\n  * A helper function to parse a scalar event as string. The caller needs to\n@@ -663,7 +658,6 @@ std::string YamlParserContext::readValue(EventPtr event)\n }\n \n /**\n- * \\fn YamlParserContext::parseDictionaryOrList()\n  * \\brief A helper function to abstract the common part of parsing dictionary or list\n  * \\param[in] endEventType The YAML end event type (sequence or mapping)\n  * \\param[in] parseItem The callback to handle an item\n@@ -707,7 +701,6 @@ int YamlParserContext::parseDictionaryOrList(yaml_event_type_t endEventType,\n }\n \n /**\n- * \\fn YamlParserContext::parseNextYamlObject()\n  * \\brief Parse next YAML event and read it as a YamlObject\n  * \\param[in] yamlObject The result of YamlObject\n  * \\param[in] event The leading event of the object\n",
    "prefixes": [
        "16/36"
    ]
}