Show a patch.

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

{
    "id": 12361,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/12361/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/12361/",
    "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": "<20210522152132.2136700-1-niklas.soderlund@ragnatech.se>",
    "date": "2021-05-22T15:21:32",
    "name": "[libcamera-devel] test: byte-stream-buffer: Initialize data array",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "8fba40ae0a7598554429517952ddd307e596bdf7",
    "submitter": {
        "id": 5,
        "url": "https://patchwork.libcamera.org/api/1.1/people/5/?format=api",
        "name": "Niklas Söderlund",
        "email": "niklas.soderlund@ragnatech.se"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/12361/mbox/",
    "series": [
        {
            "id": 2047,
            "url": "https://patchwork.libcamera.org/api/1.1/series/2047/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=2047",
            "date": "2021-05-22T15:21:32",
            "name": "[libcamera-devel] test: byte-stream-buffer: Initialize data array",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/2047/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/12361/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/12361/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 1A8ECC3200\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat, 22 May 2021 15:21:48 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 6A02268919;\n\tSat, 22 May 2021 17:21:47 +0200 (CEST)",
            "from mail-ed1-x534.google.com (mail-ed1-x534.google.com\n\t[IPv6:2a00:1450:4864:20::534])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A6C31601AA\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 22 May 2021 17:21:45 +0200 (CEST)",
            "by mail-ed1-x534.google.com with SMTP id s6so26712704edu.10\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 22 May 2021 08:21:45 -0700 (PDT)",
            "from bismarck.berto.se (p54ac5521.dip0.t-ipconnect.de.\n\t[84.172.85.33]) by smtp.googlemail.com with ESMTPSA id\n\tlv10sm5938897ejb.32.2021.05.22.08.21.44\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tSat, 22 May 2021 08:21:44 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=ragnatech-se.20150623.gappssmtp.com\n\theader.i=@ragnatech-se.20150623.gappssmtp.com\n\theader.b=\"o5JCuJgx\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=ragnatech-se.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:mime-version\n\t:content-transfer-encoding;\n\tbh=HoFs28HY/J2W53YBOaPnJIqPS0D7MgpJ2Do82Y5GB14=;\n\tb=o5JCuJgxBxNSKsmmD7UmaOVJEEeLbRrIpuyUgwSuFrhyay5b5x53lGMtyL2ONalceS\n\ttA5ksMQIZjfwZS762iAfILDVKD2/Xa/lG+b78PwtOsHijN7xJWP07L1V2UcAAWkZNUG/\n\tUFNe4FY9o2zC5i5aCXAwrxLvYiJ21lkYKbgGhdnPX0sPjho8Affd7uzikUW/dokup4Na\n\tc2LU+TILojAbywIzkV9iuqptUUNc0xw53R7QblezaWvawjUWqzJhZfhG+9+fINPayaZz\n\t8bogkX7p8gAw6982XP7A2t2eUS/npqstSHo0x99ljCXeR+rrgYECNPqPOpqBWIz4MCvC\n\tsppA==",
        "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=HoFs28HY/J2W53YBOaPnJIqPS0D7MgpJ2Do82Y5GB14=;\n\tb=okv2in0M9YkctgLXpL2U2uvL1yCwdwHkkzcVp0ieS69Z9hWxbvdQu5ANotXrBSMCpe\n\tpIawpqZWhSNRTnBg5r12/Z71tRjvNW/APP7xtwE5L1j2+NAoWKGeeeR3HTOTuvcdc1TI\n\tud/+bq4tqqd5igadgWcT9h3JkgUFgM30o9nBYBXVPsVrjnGY1TQlsxGdyMiXYgat+jd5\n\t5t59bgbda3BBSjKwK1I9newB7pMe8iu8HC1ei7ixGwZ+5FUHpTGzoFOUhOSwRG+r+LoM\n\toDZQEB2FM8BWx+e9fcQxGcNJ1zNW9hIgulLK769jYp/IJGRVgWsn+GwGrJUwlKcIdVuO\n\t1mdw==",
        "X-Gm-Message-State": "AOAM533pDwAH0LBPgMKlY9uwdXWMDR5NHk3u6bT+Ugz2e6Cj8dfoHknV\n\tsgwXbH5Xa/8E9Qbqf0bbfLE3Mln+Ym1u+w==",
        "X-Google-Smtp-Source": "ABdhPJxWW3TBKyv0KfQk9CAyArgz1gE+Yk467e01VZaY4z7gfP0pz85i7/8ZBM1xEm/68IFPk+hhag==",
        "X-Received": "by 2002:aa7:da0e:: with SMTP id\n\tr14mr16583993eds.119.1621696905234; \n\tSat, 22 May 2021 08:21:45 -0700 (PDT)",
        "From": "=?utf-8?q?Niklas_S=C3=B6derlund?= <niklas.soderlund@ragnatech.se>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 22 May 2021 17:21:32 +0200",
        "Message-Id": "<20210522152132.2136700-1-niklas.soderlund@ragnatech.se>",
        "X-Mailer": "git-send-email 2.31.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] test: byte-stream-buffer: Initialize data\n\tarray",
        "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": "Fix compiler warning about variable use before being initialized that\nappears with gcc 11.1.0.\n\n    test/byte-stream-buffer.cpp:31:63: error: ‘data’ may be used uninitialized [-Werror=maybe-uninitialized]\n\nSigned-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>\n---\n test/byte-stream-buffer.cpp | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/test/byte-stream-buffer.cpp b/test/byte-stream-buffer.cpp\nindex d606f146f6ef04ed..c911a863d27122ae 100644\n--- a/test/byte-stream-buffer.cpp\n+++ b/test/byte-stream-buffer.cpp\n@@ -20,7 +20,7 @@ class ByteStreamBufferTest : public Test\n protected:\n \tint run()\n \t{\n-\t\tstd::array<uint8_t, 100> data;\n+\t\tstd::array<uint8_t, 100> data = {};\n \t\tunsigned int i;\n \t\tuint32_t value;\n \t\tint ret;\n",
    "prefixes": [
        "libcamera-devel"
    ]
}