Show a patch.

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

{
    "id": 43874,
    "url": "http://patches.dpdk.org/api/patches/43874/",
    "web_url": "http://patches.dpdk.org/patch/43874/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk"
    },
    "msgid": "<1535122494-30249-4-git-send-email-tdu@semihalf.com>",
    "date": "2018-08-24T14:54:51",
    "name": "[v2,3/6] net/mvpp2: fix array initialization",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "dadd12a810a2c54341306e5453bd108f6cc22059",
    "submitter": {
        "id": 846,
        "url": "http://patches.dpdk.org/api/people/846/",
        "name": "Tomasz Duszynski",
        "email": "tdu@semihalf.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "mbox": "http://patches.dpdk.org/patch/43874/mbox/",
    "series": [
        {
            "id": 1050,
            "url": "http://patches.dpdk.org/api/series/1050/",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=1050",
            "date": "2018-08-24T14:54:48",
            "name": "net/mvpp2 changes and features",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/1050/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/43874/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/43874/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "In-Reply-To": "<1535122494-30249-1-git-send-email-tdu@semihalf.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "X-Mailer": "git-send-email 2.7.4",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 1D19E5F57;\n\tFri, 24 Aug 2018 16:55:10 +0200 (CEST)",
            "from mail-lf1-f65.google.com (mail-lf1-f65.google.com\n\t[209.85.167.65]) by dpdk.org (Postfix) with ESMTP id B947E5F34\n\tfor <dev@dpdk.org>; Fri, 24 Aug 2018 16:55:06 +0200 (CEST)",
            "by mail-lf1-f65.google.com with SMTP id e23-v6so6878730lfc.13\n\tfor <dev@dpdk.org>; Fri, 24 Aug 2018 07:55:06 -0700 (PDT)",
            "from sh.semihalf.local (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.gmail.com with ESMTPSA id\n\tj140-v6sm1373659lfg.16.2018.08.24.07.55.04\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 24 Aug 2018 07:55:05 -0700 (PDT)"
        ],
        "References": "<1535113006-9393-1-git-send-email-tdu@semihalf.com>\n\t<1535122494-30249-1-git-send-email-tdu@semihalf.com>",
        "X-Google-Smtp-Source": "ANB0VdZ2+axFVKAjlnUvNm6ZRCvl95V4EhhtSufYRVbpKtOggB51DCzpXaANk9J/P98YPga/tLBRpw==",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=27kVjXLcn+xnuRXnsBpb6FC4jqCh8tUmyPgN9dHQcAg=;\n\tb=bS/0QWC6i3HcHohfg+tq7ieZwVePOVIPtlt2AcdHIqoQch/Ntcs/KJMoUQuPxeTvnK\n\t9Y7YF3IcSFam/pSHgRyl/bRhRitO+aHoOoBK3Tlfoif3EmEBVVNh5DwQHRSG0oHEF8k+\n\ttseeWW6tDUfL+kbCghh+muK5+4nfZWJzMr30Orb+61TG+fJE+JpiY6ZeyDepy1xQMIZp\n\tI+YYzY9VmeheYPG+01Hr7UuGxn15kR+UgMhTFYWtqUxFDBH3NU4qDQzpSU94g4QaApPF\n\tCDXEGDliyFoAhu6edjhGD5OG8j2no7ZWRYhqtauk/5Rb9siTnKasA8/60Pt6aalEkou2\n\t0aqw==",
        "X-BeenThere": "dev@dpdk.org",
        "X-Received": "by 2002:a19:b2c8:: with SMTP id\n\tt69-v6mr1538948lfk.105.1535122506120; \n\tFri, 24 Aug 2018 07:55:06 -0700 (PDT)",
        "Message-Id": "<1535122494-30249-4-git-send-email-tdu@semihalf.com>",
        "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:in-reply-to\n\t:references;\n\tbh=27kVjXLcn+xnuRXnsBpb6FC4jqCh8tUmyPgN9dHQcAg=;\n\tb=WCUKQRoQuH1P3e+U8KQ47pYQL9nsVFFaeOCXLyYqntlX+i+0aPwemJ7AdJk1huz/ET\n\toWokNqWy9SMpz8wmLFlIkpODLhCJX4t6LLfNQKhpFkRqW0zL3GUW0nK+/WjJNASi2MrT\n\tyj8NC1IteO/lPHUdRcTiNUIl3+dqu8pMkO/2PhrfPhYmrCZOJRqW7zul4ASSb7c2QZp/\n\tMoZazdAjGP+SwjDIE5HPddiCwbufafJy+SK4aC5Um1jlRBas66Lla7undENFyLI90nzr\n\t08/Gu+Ge8883yBEpPXlq5E+rViYgje6ogq1sFABimbHsBBR3u/petKLfkc9iW75Vcyqq\n\t/4NQ==",
        "Delivered-To": "patchwork@dpdk.org",
        "Precedence": "list",
        "From": "Tomasz Duszynski <tdu@semihalf.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "To": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Date": "Fri, 24 Aug 2018 16:54:51 +0200",
        "X-Gm-Message-State": "APzg51BqcAm2NBMQ/XAXmmzXCYgidHfnPvUxnVrnx2YenxB0CzgliS2f\n\tKrXVk5Oh8PtnsFJucMwhELxZbXRAo94=",
        "Cc": "nsamsono@marvell.com, mw@semihalf.com,\n\tTomasz Duszynski <tdu@semihalf.com>, stable@dpdk.org",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "Subject": "[dpdk-dev] [PATCH v2 3/6] net/mvpp2: fix array initialization"
    },
    "content": "Fix used_bpools array initialization by using range initializer.\nThis way all necessary variables are properly initialized regardless\nof PP2_NUM_PKT_PROC value.\n\nFixes: 0ddc9b815b11 (\"net/mrvl: add net PMD skeleton\")\nCc: stable@dpdk.org\n\nSigned-off-by: Tomasz Duszynski <tdu@semihalf.com>\n---\n drivers/net/mvpp2/mrvl_ethdev.c | 3 +--\n 1 file changed, 1 insertion(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/mvpp2/mrvl_ethdev.c b/drivers/net/mvpp2/mrvl_ethdev.c\nindex 7ea8946..60ca6e0 100644\n--- a/drivers/net/mvpp2/mrvl_ethdev.c\n+++ b/drivers/net/mvpp2/mrvl_ethdev.c\n@@ -84,8 +84,7 @@ static const char * const valid_args[] = {\n static int used_hifs = MRVL_MUSDK_HIFS_RESERVED;\n static struct pp2_hif *hifs[RTE_MAX_LCORE];\n static int used_bpools[PP2_NUM_PKT_PROC] = {\n-\tMRVL_MUSDK_BPOOLS_RESERVED,\n-\tMRVL_MUSDK_BPOOLS_RESERVED\n+\t[0 ... PP2_NUM_PKT_PROC - 1] = MRVL_MUSDK_BPOOLS_RESERVED\n };\n \n struct pp2_bpool *mrvl_port_to_bpool_lookup[RTE_MAX_ETHPORTS];\n",
    "prefixes": [
        "v2",
        "3/6"
    ]
}