get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 53285,
    "url": "https://patches.dpdk.org/api/patches/53285/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190505181216.30192-1-mattias.ronnblom@ericsson.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "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",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20190505181216.30192-1-mattias.ronnblom@ericsson.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190505181216.30192-1-mattias.ronnblom@ericsson.com",
    "date": "2019-05-05T18:12:16",
    "name": "power: fix struct cache line-alignment issues",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7b8978da77f095f0eb37a0e98ca18242f5fbce4a",
    "submitter": {
        "id": 1077,
        "url": "https://patches.dpdk.org/api/people/1077/?format=api",
        "name": "Mattias Rönnblom",
        "email": "mattias.ronnblom@ericsson.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190505181216.30192-1-mattias.ronnblom@ericsson.com/mbox/",
    "series": [
        {
            "id": 4571,
            "url": "https://patches.dpdk.org/api/series/4571/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=4571",
            "date": "2019-05-05T18:12:16",
            "name": "power: fix struct cache line-alignment issues",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/4571/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/53285/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/53285/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5E4332B94;\n\tSun,  5 May 2019 20:12:25 +0200 (CEST)",
            "from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48])\n\tby dpdk.org (Postfix) with ESMTP id D3AA1239\n\tfor <dev@dpdk.org>; Sun,  5 May 2019 20:12:23 +0200 (CEST)",
            "from ESESSMB504.ericsson.se (Unknown_Domain [153.88.183.122])\n\tby sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id\n\tCF.80.06164.7872FCC5; Sun,  5 May 2019 20:12:23 +0200 (CEST)",
            "from ESESSMB501.ericsson.se (153.88.183.162) by\n\tESESSMB504.ericsson.se (153.88.183.192) with Microsoft SMTP Server\n\t(version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id\n\t15.1.1713.5; Sun, 5 May 2019 20:12:22 +0200",
            "from selio1a020.lmera.ericsson.se (153.88.183.153) by\n\tsmtp.internal.ericsson.com (153.88.183.189) with Microsoft SMTP\n\tServer id\n\t15.1.1713.5 via Frontend Transport; Sun, 5 May 2019 20:12:22 +0200",
            "from breslau.lmera.ericsson.se (breslau.lmera.ericsson.se\n\t[150.132.109.241])\n\tby selio1a020.lmera.ericsson.se (8.15.1+Sun/8.15.1) with ESMTP id\n\tx45ICMOv020821; Sun, 5 May 2019 20:12:22 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801;\n\tc=relaxed/relaxed; \n\tq=dns/txt; i=@ericsson.com; t=1557079943; x=1559671943;\n\th=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type:\n\tContent-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id:\n\tList-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;\n\tbh=xPGVHU+gj5Q5gWM025pFQOS9q75hBFWenRLWRmgqjj0=;\n\tb=QeCn48tyJljKeklAiEYrh1WWHXpyOdCdG8bN60ZR3xl4w1rfpBbglP0nfh9rMNyU\n\t/gXR22WH054o0aS/hf6RatbbIy0ejXZTaFW54iAV3gyWBg/0MApP9pDBx4WYRDKF\n\tDREALenzM8D0L8vV4BkxXATkfcIi4NZThesLeiAG0rI=;",
        "X-AuditID": "c1b4fb30-6ddff70000001814-d6-5ccf27872d24",
        "From": "=?utf-8?q?Mattias_R=C3=B6nnblom?= <mattias.ronnblom@ericsson.com>",
        "To": "<dev@dpdk.org>",
        "CC": "<david.hunt@intel.com>, =?utf-8?q?Mattias_R=C3=B6nnblom?=\n\t<mattias.ronnblom@ericsson.com>",
        "Date": "Sun, 5 May 2019 20:12:16 +0200",
        "Message-ID": "<20190505181216.30192-1-mattias.ronnblom@ericsson.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "Content-Transfer-Encoding": "8bit",
        "X-Brightmail-Tracker": "H4sIAAAAAAAAA+NgFtrKLMWRmVeSWpSXmKPExsUyM2J7lW67+vkYgwnzBS36Jn1ksnj3aTuT\n\tA5PHrwVLWT0W73nJFMAUxWWTkpqTWZZapG+XwJUx79NbpoLFvBVH1x9nbWDcx93FyMkhIWAi\n\t0flkAksXIxeHkMBRRonLa04wQzhfGSUOL33DCuFcYJRYvmobK0iLkMAlRonf5w1AbDYBT4nJ\n\t77pZQGwRASGJpR8vs4PYzAKJEpsP7gCaxMEhLGAn0bE0FyTMIqAicXnCK7ASXgEnifPXvrNA\n\tXCEvsXrDAWaIuKDEyZlPWCDGaEq0bv8NNVJeonnrbGaIE7Qk7i/5wjyBUWAWkpZZSFpmIWlZ\n\twMi8ilG0OLU4KTfdyEgvtSgzubg4P08vL7VkEyMwMA9u+W2wg/Hlc8dDjAIcjEo8vFyi52OE\n\tWBPLiitzDzFKcDArifAmPjsXI8SbklhZlVqUH19UmpNafIhRmoNFSZw3evWeGCGB9MSS1OzU\n\t1ILUIpgsEwenVANjtlm8Xtdiw/p5TgnJB+5knn+nq/nA6l/araT/C06xRxYW8D08NOOFeei+\n\tybJ+s5niomcHrTq6JNQm0GvF61i1IgOXVgUl3/aq/7e1ucKv5U/Xtee+5ZDf62nWsaJQ11B5\n\t80KBhV+aJ8bOuFCozf/av+W+6sXQ6R2fIhTd78hV5KuGLzSYd1yJpTgj0VCLuag4EQDIJDyn\n\tSAIAAA==",
        "Subject": "[dpdk-dev] [PATCH] power: fix struct cache line-alignment issues",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "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>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@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>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The ACPI and PState CPU frequency scaling drivers used the\n__rte_cache_aligned attribute without including rte_memory.h, which\nturns what looks as the declaration of a cache line-aligned struct\ninto a non-aligned struct declaration and the definition of an\ninstance of the struct.\n\nFixes: e6c6dc0f96 (\"power: add p-state driver compatibility\")\nFixes: 445c6528b5 (\"power: common interface for guest and host\")\n\nSigned-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>\n---\n lib/librte_power/power_acpi_cpufreq.c   | 5 +++--\n lib/librte_power/power_pstate_cpufreq.c | 5 +++--\n 2 files changed, 6 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/librte_power/power_acpi_cpufreq.c b/lib/librte_power/power_acpi_cpufreq.c\nindex 5672c594e..7c386f891 100644\n--- a/lib/librte_power/power_acpi_cpufreq.c\n+++ b/lib/librte_power/power_acpi_cpufreq.c\n@@ -12,9 +12,10 @@\n #include <signal.h>\n #include <limits.h>\n \n-#include <rte_string_fns.h>\n-#include <rte_memcpy.h>\n #include <rte_atomic.h>\n+#include <rte_memcpy.h>\n+#include <rte_memory.h>\n+#include <rte_string_fns.h>\n \n #include \"power_acpi_cpufreq.h\"\n #include \"power_common.h\"\ndiff --git a/lib/librte_power/power_pstate_cpufreq.c b/lib/librte_power/power_pstate_cpufreq.c\nindex c2c4e8e14..30727f04b 100644\n--- a/lib/librte_power/power_pstate_cpufreq.c\n+++ b/lib/librte_power/power_pstate_cpufreq.c\n@@ -14,9 +14,10 @@\n #include <errno.h>\n #include <inttypes.h>\n \n-#include <rte_string_fns.h>\n-#include <rte_memcpy.h>\n #include <rte_atomic.h>\n+#include <rte_memcpy.h>\n+#include <rte_memory.h>\n+#include <rte_string_fns.h>\n \n #include \"power_pstate_cpufreq.h\"\n #include \"power_common.h\"\n",
    "prefixes": []
}