Show a patch.

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

{
    "id": 2639,
    "url": "https://patchwork.libcamera.org/api/patches/2639/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2639/",
    "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": "<20200113235605.19085-1-laurent.pinchart@ideasonboard.com>",
    "date": "2020-01-13T23:56:05",
    "name": "[libcamera-devel] libcamera: ipa_interface: Fix doxygen warning",
    "commit_ref": "744fabcbb938d60cdbc0dfadc625bbd6798c2485",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "421ee06691c7fcfca56653e045cd24d39bf315e3",
    "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/2639/mbox/",
    "series": [
        {
            "id": 619,
            "url": "https://patchwork.libcamera.org/api/series/619/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=619",
            "date": "2020-01-13T23:56:05",
            "name": "[libcamera-devel] libcamera: ipa_interface: Fix doxygen warning",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/619/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2639/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2639/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<laurent.pinchart@ideasonboard.com>",
        "Received": [
            "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 B42DF6017C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Jan 2020 00:56:21 +0100 (CET)",
            "from pendragon.ideasonboard.com\n\t(cpc108967-cmbg20-2-0-cust420.5-4.cable.virginm.net [81.101.7.165])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 03F0F30E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue, 14 Jan 2020 00:56:20 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1578959781;\n\tbh=9+E6NjtkL68M0eiO1D3gFBp7GVEw74Cp2Rn9K0PRyso=;\n\th=From:To:Subject:Date:From;\n\tb=jDLxPIdEufOVeTlZnjL+RfzP2wvwBHRRBdoTuYrZAVTvYKCxa5xz051N3VSZ7tSlr\n\tiyIQBDZVlaSRmga1AmDqCCim2MNzkrQ2q3HdXSc4W2TrSODSOHkBmOEmtyw9D2v2RI\n\tYPiQCOhi5+4dn2OjGSKZlJlj6nRG5oMTPVRAqOns=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Tue, 14 Jan 2020 01:56:05 +0200",
        "Message-Id": "<20200113235605.19085-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.24.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] libcamera: ipa_interface: Fix doxygen\n\twarning",
        "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": "Mon, 13 Jan 2020 23:56:21 -0000"
    },
    "content": "Doxygen generates the following warning:\n\nsrc/libcamera/ipa_interface.cpp:262: warning: explicit link request to 'dup()' could not be resolved\n\nFix it by disabling link generation by prefixing the function name with\na %.\n\nFixes: 4b9bd6c3ad94 (\"libcamera: ipa_interface: Document the ownership of dmabufs passed to map_buffers()\")\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/ipa_interface.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/libcamera/ipa_interface.cpp b/src/libcamera/ipa_interface.cpp\nindex 900154497f82..5959e7deda6c 100644\n--- a/src/libcamera/ipa_interface.cpp\n+++ b/src/libcamera/ipa_interface.cpp\n@@ -261,7 +261,7 @@\n  * The dmabuf file descriptors provided in \\a buffers are borrowed from the\n  * caller and are only guaranteed to be valid during the map_buffers() call.\n  * Should the callee need to store a copy of the file descriptors, it shall\n- * duplicate them first with ::dup().\n+ * duplicate them first with ::%dup().\n  *\n  * \\sa libcamera::IPAInterface::mapBuffers()\n  */\n",
    "prefixes": [
        "libcamera-devel"
    ]
}