Show a patch.

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

{
    "id": 11033,
    "url": "https://patchwork.libcamera.org/api/patches/11033/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/11033/",
    "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": "<20210127114754.16732-1-david.plowman@raspberrypi.com>",
    "date": "2021-01-27T11:47:54",
    "name": "[libcamera-devel] ipa: raspberrypi: alsc: Fix copy-paste error in debug statement",
    "commit_ref": "a2fec126670a0395078c78b7234ef3936b0a8449",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "523ae0220f31156bad88429f2246fc5138e59f6b",
    "submitter": {
        "id": 42,
        "url": "https://patchwork.libcamera.org/api/people/42/?format=api",
        "name": "David Plowman",
        "email": "david.plowman@raspberrypi.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/11033/mbox/",
    "series": [
        {
            "id": 1616,
            "url": "https://patchwork.libcamera.org/api/series/1616/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1616",
            "date": "2021-01-27T11:47:54",
            "name": "[libcamera-devel] ipa: raspberrypi: alsc: Fix copy-paste error in debug statement",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1616/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/11033/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/11033/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 C1BBEC0F2B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 27 Jan 2021 11:47:59 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 54E3F68373;\n\tWed, 27 Jan 2021 12:47:59 +0100 (CET)",
            "from mail-ed1-x52a.google.com (mail-ed1-x52a.google.com\n\t[IPv6:2a00:1450:4864:20::52a])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 746D260F2F\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 27 Jan 2021 12:47:57 +0100 (CET)",
            "by mail-ed1-x52a.google.com with SMTP id d2so2088845edz.3\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 27 Jan 2021 03:47:57 -0800 (PST)",
            "from pi4-davidp.lan (plowpeople3.plus.com. [80.229.223.72])\n\tby smtp.gmail.com with ESMTPSA id\n\tx20sm686342ejv.66.2021.01.27.03.47.56\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tWed, 27 Jan 2021 03:47:56 -0800 (PST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=raspberrypi.com header.i=@raspberrypi.com\n\theader.b=\"RSOIdshz\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=raspberrypi.com; s=google;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=EFztWFYmHECF8fwRSPSPvHQqo8CtnBpqvPKOyBfPiEA=;\n\tb=RSOIdshzkpaG2EDklFymE8MMTa6LJ7fp/clfaT6Nb6jSFIyiO6nXZ4VAIuPAG/+Ajy\n\tFEPzNf2tqdhTQXMvwzCG53OHPPkguU6oVho8nUPzHA3YmBrsz4c0PLmep0vqBg6L7EWC\n\t3L0GGLFwrHPnQkQLPkOcb2+4ntYW/R7hI24wFBUF9dkCuStaZCtZ9dTN9mtPxJhQEJhj\n\tJ/00GFV0QDJbzJlFU/+XEe/BTkU+XLtuIvDaAtyNQLTAxQtjVD8pdiNOn+JWdp9rdEUv\n\tCA45LKhMYMFIf+SZZ90sPYdltAuuF/JmD7IFa5WjZ3M1GMd62dx++3W4HIVMXKg5kyVW\n\tUYrg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=EFztWFYmHECF8fwRSPSPvHQqo8CtnBpqvPKOyBfPiEA=;\n\tb=Z+Dsa65wM5yVIO3EtPWq3hYalBMcCe44YDaqlY5ZmGPdckWuv4D5vxR92BmHTo0o1K\n\tq4PoN/GL/h6El1WvsX+u/BG98fiE+sgRO9rmfnNGOVLOxC9wvX5W9OxDToCJCHjRoY24\n\t0eRbgGiyEf5+O8Ad7Dz43rCf+mLwQFoF643mhSGEUnqDmG65PoMNzCJXC+KDn9mthNCf\n\thSGgbZ0z95/pdny1wtTxdTjr52LrLFgex+KG1nQsJWJc65+dAm8BvfgZHgvYKuCwkhip\n\tPAAGXKcCBmGCFtgemLX1tg/nxaNSRz/28OsiQYC53+xvNc8xo0BfmANnuRdf3rDMFNbg\n\teVZw==",
        "X-Gm-Message-State": "AOAM532PFh/DPRjha57N00V+BXHPrsSfRCYW+8EjYwl6o9fGIw+eZvNp\n\t3S199gKVLWrVGzqfxH0Qi6a0wNugova5r86E",
        "X-Google-Smtp-Source": "ABdhPJzmUR/GIY8fd3sMYVto9gAbyB5MS0T6Kvmz03vBd/y9yzMhzdF/gu7dgdsiyNs5kGwd+YB4+w==",
        "X-Received": "by 2002:a05:6402:22db:: with SMTP id\n\tdm27mr8863387edb.379.1611748076911; \n\tWed, 27 Jan 2021 03:47:56 -0800 (PST)",
        "From": "David Plowman <david.plowman@raspberrypi.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Wed, 27 Jan 2021 11:47:54 +0000",
        "Message-Id": "<20210127114754.16732-1-david.plowman@raspberrypi.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH] ipa: raspberrypi: alsc: Fix copy-paste\n\terror in debug statement",
        "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>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Signed-off-by: David Plowman <david.plowman@raspberrypi.com>\n---\n src/ipa/raspberrypi/controller/rpi/alsc.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/src/ipa/raspberrypi/controller/rpi/alsc.cpp b/src/ipa/raspberrypi/controller/rpi/alsc.cpp\nindex 5262bcab..b0d24aa2 100644\n--- a/src/ipa/raspberrypi/controller/rpi/alsc.cpp\n+++ b/src/ipa/raspberrypi/controller/rpi/alsc.cpp\n@@ -403,7 +403,7 @@ void get_cal_table(double ct, std::vector<AlscCalibration> const &calibrations,\n \t\tmemcpy(cal_table, calibrations.back().table,\n \t\t       XY * sizeof(double));\n \t\tLOG(RPiAlsc, Debug) << \"using calibration for \"\n-\t\t\t\t    << calibrations.front().ct;\n+\t\t\t\t    << calibrations.back().ct;\n \t} else {\n \t\tint idx = 0;\n \t\twhile (ct > calibrations[idx + 1].ct)\n",
    "prefixes": [
        "libcamera-devel"
    ]
}