Show a patch.

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

{
    "id": 73619,
    "url": "https://patches.dpdk.org/api/patches/73619/?format=api",
    "web_url": "https://patches.dpdk.org/patch/73619/",
    "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"
    },
    "msgid": "<20200709163553.8677-1-tianfei.zhang@intel.com>",
    "date": "2020-07-09T16:35:53",
    "name": "[v1,1/2] raw/ifpga/base: fix spi transaction issue",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "18d02d5d4e71f0b57b9d022b843c9a74752e8dc7",
    "submitter": {
        "id": 987,
        "url": "https://patches.dpdk.org/api/people/987/?format=api",
        "name": "Tianfei zhang",
        "email": "tianfei.zhang@intel.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/patch/73619/mbox/",
    "series": [
        {
            "id": 10918,
            "url": "https://patches.dpdk.org/api/series/10918/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=10918",
            "date": "2020-07-09T16:35:53",
            "name": "[v1,1/2] raw/ifpga/base: fix spi transaction issue",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/10918/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/73619/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/73619/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9676\"; a=\"147953835\"",
            "E=Sophos;i=\"5.75,331,1589266800\"; d=\"scan'208\";a=\"147953835\"",
            "E=Sophos;i=\"5.75,331,1589266800\"; d=\"scan'208\";a=\"389077653\""
        ],
        "IronPort-SDR": [
            "\n jGVumT4IPtRV3zhkRvR2EN6PDUuY99QtkIuG/tPw4OHf5DqYT1N6bKHWbEZ62sZh5Zqq3fnc3U\n /khuqGZKEf1Q==",
            "\n Z/cAcYU729sqAns/PrGiykXg8Sw/1eKN+RhmTRfxHz65Q6vReKYXR58Q3LdEcVpY+WtXxlJxL5\n PRoed48Q3gAQ=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH v1 1/2] raw/ifpga/base: fix spi transaction issue",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 0413BA0526;\n\tThu,  9 Jul 2020 10:47:00 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5E64F1DE6D;\n\tThu,  9 Jul 2020 10:47:00 +0200 (CEST)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id 3D3961DE62;\n Thu,  9 Jul 2020 10:46:58 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 09 Jul 2020 01:46:57 -0700",
            "from figo-optiplex-9020.sh.intel.com ([10.238.169.50])\n by fmsmga001.fm.intel.com with ESMTP; 09 Jul 2020 01:46:55 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.17.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Fri, 10 Jul 2020 00:35:53 +0800",
        "To": "dev@dpdk.org,\n\trosen.xu@intel.com",
        "From": "Tianfei zhang <tianfei.zhang@intel.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Cc": "Tianfei Zhang <tianfei.zhang@intel.com>,\n\tstable@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<20200709163553.8677-1-tianfei.zhang@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "From: Tianfei Zhang <tianfei.zhang@intel.com>\n\n0x4a means idle status on physical layer. when encounter\n0x4a on raw data, it need insert a ESCAPE character for\nindication.\n\nFixes: 96ebfcf8 (\"raw/ifpga/base: add SPI and MAX10 device driver\")\nCc: stable@dpdk.org\n\nSigned-off-by: Tianfei Zhang <tianfei.zhang@intel.com>\n---\n drivers/raw/ifpga/base/opae_spi_transaction.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/raw/ifpga/base/opae_spi_transaction.c b/drivers/raw/ifpga/base/opae_spi_transaction.c\nindex 013efee3e..d13d2fbc8 100644\n--- a/drivers/raw/ifpga/base/opae_spi_transaction.c\n+++ b/drivers/raw/ifpga/base/opae_spi_transaction.c\n@@ -166,7 +166,7 @@ static int byte_to_core_convert(struct spi_transaction_dev *dev,\n \t\tcurrent_byte = send_data[i];\n \t\tswitch (current_byte) {\n \t\tcase SPI_BYTE_IDLE:\n-\t\t\t*p++ = SPI_BYTE_IDLE;\n+\t\t\t*p++ = SPI_BYTE_ESC;\n \t\t\t*p++ = xor_20(current_byte);\n \t\t\tbreak;\n \t\tcase SPI_BYTE_ESC:\n",
    "prefixes": [
        "v1",
        "1/2"
    ]
}