Patch Detail
Show a patch.
GET /api/1.1/patches/16360/?format=api
{ "id": 16360, "url": "https://patchwork.libcamera.org/api/1.1/patches/16360/?format=api", "web_url": "https://patchwork.libcamera.org/patch/16360/", "project": { "id": 1, "url": "https://patchwork.libcamera.org/api/1.1/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": "<20220623232741.19753-1-laurent.pinchart@ideasonboard.com>", "date": "2022-06-23T23:27:41", "name": "[libcamera-devel,v4.1,06/12] ipa: libipa: module: Make the Module class Loggable", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "9fb78c2d614cd3c21264c008ad68f999e5324971", "submitter": { "id": 2, "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api", "name": "Laurent Pinchart", "email": "laurent.pinchart@ideasonboard.com" }, "delegate": null, "mbox": "https://patchwork.libcamera.org/patch/16360/mbox/", "series": [ { "id": 3215, "url": "https://patchwork.libcamera.org/api/1.1/series/3215/?format=api", "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3215", "date": "2022-06-23T23:27:41", "name": null, "version": 1, "mbox": "https://patchwork.libcamera.org/series/3215/mbox/" } ], "comments": "https://patchwork.libcamera.org/api/patches/16360/comments/", "check": "pending", "checks": "https://patchwork.libcamera.org/api/patches/16360/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 9C031BE173\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 23 Jun 2022 23:28:06 +0000 (UTC)", "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id D264065635;\n\tFri, 24 Jun 2022 01:28:05 +0200 (CEST)", "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 B2B5161FB2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 24 Jun 2022 01:28:04 +0200 (CEST)", "from pendragon.lan (62-78-145-57.bb.dnainternet.fi [62.78.145.57])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id D77E9DD;\n\tFri, 24 Jun 2022 01:28:03 +0200 (CEST)" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1656026885;\n\tbh=blipsBj3PFrKRXNgnTsG0uUbFpehsJfENvrfzYfw9zs=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:\n\tFrom;\n\tb=TpXJ951MU8Q6NpSQZRQJPolX2cJl9kyrQnvKN852ar8IFlWAOYueCEThQnl7jJ0B3\n\tlnXwGmjGFW9VE6x8qrWu2/Qd05MKpfkQpUBaGTcbhGUxKxdHLR/KZpzoUHOar0Qpb0\n\tb+/W4J/PO3mPfGPvJo1Y8Y/zg1dSLP5rrT3ahYCqeCDi38vex3PqsPxL20fFlE4mik\n\t8AHFikEy5Q4X4ioTs9Wn244VuLXZN6x0Xi88Pefhor8idVf4Qg6Qp3SKJ0TVSH2D9u\n\tIuiAQp1QApaSaEkdu7SdS7B+bbMV5/bgkaLjkptFcnjWGgcq2nc2nODVohuKk4sp2G\n\t435bMNxMLrDag==", "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1656026884;\n\tbh=blipsBj3PFrKRXNgnTsG0uUbFpehsJfENvrfzYfw9zs=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=nYKDt6vQkcMgdn3vKwdFeyxPzrNjzNcOAJm4aeERtYoVlPo2dQ2Ii5rFG7R0YrHyH\n\tZfVkygiePryvCdT4Pn48W4gLImIO7HcjVhM/0jbTAlLKj3xX0IcC10hFPPeNJcvDDZ\n\t7MkmEJxOG9IbNDV55hOJCVa9AD66BILo6AH3UTvo=" ], "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"nYKDt6vQ\"; dkim-atps=neutral", "To": "libcamera-devel@lists.libcamera.org", "Date": "Fri, 24 Jun 2022 02:27:41 +0300", "Message-Id": "<20220623232741.19753-1-laurent.pinchart@ideasonboard.com>", "X-Mailer": "git-send-email 2.35.1", "In-Reply-To": "<YrQgNV8Iqa8Sh9JX@pendragon.ideasonboard.com>", "References": "<YrQgNV8Iqa8Sh9JX@pendragon.ideasonboard.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[libcamera-devel] [PATCH v4.1 06/12] ipa: libipa: module: Make the\n\tModule class Loggable", "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>", "From": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>", "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>", "Errors-To": "libcamera-devel-bounces@lists.libcamera.org", "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>" }, "content": "To help attribute messages logged by the Module class to a particular\nIPA module, make the class loggable. The logPrefix() function must be\nimplemented by the IPA module-specific derived class.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\nChanges since v4:\n\n- Fix the commit message\n---\n src/ipa/libipa/module.h | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/src/ipa/libipa/module.h b/src/ipa/libipa/module.h\nindex 00d5785e1aa0..cd67912f1b0c 100644\n--- a/src/ipa/libipa/module.h\n+++ b/src/ipa/libipa/module.h\n@@ -27,7 +27,7 @@ namespace ipa {\n \n template<typename _Context, typename _FrameContext, typename _Config,\n \t typename _Params, typename _Stats>\n-class Module\n+class Module : public Loggable\n {\n public:\n \tusing Context = _Context;\n", "prefixes": [ "libcamera-devel", "v4.1", "06/12" ] }