get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 815522,
    "url": "http://patchwork.ozlabs.org/api/patches/815522/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/af19f4aa51d30b352b08acd416d13a917529ddd2.1505825623.git.christophe.leroy@c-s.fr/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api",
        "name": "Linux PPC development",
        "link_name": "linuxppc-dev",
        "list_id": "linuxppc-dev.lists.ozlabs.org",
        "list_email": "linuxppc-dev@lists.ozlabs.org",
        "web_url": "https://github.com/linuxppc/wiki/wiki",
        "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git",
        "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/",
        "list_archive_url": "https://lore.kernel.org/linuxppc-dev/",
        "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/",
        "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}"
    },
    "msgid": "<af19f4aa51d30b352b08acd416d13a917529ddd2.1505825623.git.christophe.leroy@c-s.fr>",
    "list_archive_url": "https://lore.kernel.org/linuxppc-dev/af19f4aa51d30b352b08acd416d13a917529ddd2.1505825623.git.christophe.leroy@c-s.fr/",
    "date": "2017-09-19T12:59:03",
    "name": "[2/6] crypto: talitos - fix hashing",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": false,
    "hash": "598df95abe16d8131d16b2182520f4ff21c5ece4",
    "submitter": {
        "id": 5234,
        "url": "http://patchwork.ozlabs.org/api/people/5234/?format=api",
        "name": "Christophe Leroy",
        "email": "christophe.leroy@c-s.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/af19f4aa51d30b352b08acd416d13a917529ddd2.1505825623.git.christophe.leroy@c-s.fr/mbox/",
    "series": [
        {
            "id": 3874,
            "url": "http://patchwork.ozlabs.org/api/series/3874/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=3874",
            "date": "2017-09-19T12:58:59",
            "name": "crypto: talitos - various fixes",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/3874/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/815522/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/815522/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xxNNL6yXkz9s7g\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 19 Sep 2017 23:03:30 +1000 (AEST)",
            "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3xxNNL67QTzDr38\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 19 Sep 2017 23:03:30 +1000 (AEST)",
            "from pegase1.c-s.fr (pegase1.c-s.fr [93.17.236.30])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3xxNHH5vRNzDqNh\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tTue, 19 Sep 2017 22:59:07 +1000 (AEST)",
            "from localhost (mailhub1-int [192.168.12.234])\n\tby localhost (Postfix) with ESMTP id 3xxNH40bS9z9ttBw;\n\tTue, 19 Sep 2017 14:58:56 +0200 (CEST)",
            "from pegase1.c-s.fr ([192.168.12.234])\n\tby localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new,\n\tport 10024)\n\twith ESMTP id JywVEbtAvScx; Tue, 19 Sep 2017 14:58:56 +0200 (CEST)",
            "from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192])\n\tby pegase1.c-s.fr (Postfix) with ESMTP id 3xxNH358g1z9ttBd;\n\tTue, 19 Sep 2017 14:58:55 +0200 (CEST)",
            "from localhost (localhost [127.0.0.1])\n\tby messagerie.si.c-s.fr (Postfix) with ESMTP id CC8BE8B828;\n\tTue, 19 Sep 2017 14:59:03 +0200 (CEST)",
            "from messagerie.si.c-s.fr ([127.0.0.1])\n\tby localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new,\n\tport 10023)\n\twith ESMTP id E1GwGAv7CzvK; Tue, 19 Sep 2017 14:59:03 +0200 (CEST)",
            "from po15668-vm-win7.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr\n\t[172.25.231.1])\n\tby messagerie.si.c-s.fr (Postfix) with ESMTP id 9356D8B827;\n\tTue, 19 Sep 2017 14:59:03 +0200 (CEST)",
            "by po15668-vm-win7.idsi0.si.c-s.fr (Postfix, from userid 0)\n\tid 802DB689A5; Tue, 19 Sep 2017 14:59:03 +0200 (CEST)"
        ],
        "Authentication-Results": "ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=c-s.fr\n\t(client-ip=93.17.236.30; helo=pegase1.c-s.fr;\n\tenvelope-from=christophe.leroy@c-s.fr; receiver=<UNKNOWN>)",
        "X-Virus-Scanned": [
            "Debian amavisd-new at c-s.fr",
            "amavisd-new at c-s.fr"
        ],
        "Message-Id": "<af19f4aa51d30b352b08acd416d13a917529ddd2.1505825623.git.christophe.leroy@c-s.fr>",
        "In-Reply-To": "<cover.1505825623.git.christophe.leroy@c-s.fr>",
        "References": "<cover.1505825623.git.christophe.leroy@c-s.fr>",
        "From": "Christophe Leroy <christophe.leroy@c-s.fr>",
        "Subject": "[PATCH 2/6] crypto: talitos - fix hashing",
        "To": "Herbert Xu <herbert@gondor.apana.org.au>,\n\tDavid S. Miller <davem@davemloft.net>",
        "Date": "Tue, 19 Sep 2017 14:59:03 +0200 (CEST)",
        "X-BeenThere": "linuxppc-dev@lists.ozlabs.org",
        "X-Mailman-Version": "2.1.24",
        "Precedence": "list",
        "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>",
        "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>",
        "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>",
        "Cc": "linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n\tlinux-crypto@vger.kernel.org",
        "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org",
        "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>"
    },
    "content": "md5sum on some files gives wrong result\n\nExemple:\n\nWith the md5sum from libkcapi:\nc15115c05bad51113f81bdaee735dd09  test\n\nWith the original md5sum:\nbbdf41d80ba7e8b2b7be3a0772be76cb  test\n\nThis patch fixes this issue\n\nSigned-off-by: Christophe Leroy <christophe.leroy@c-s.fr>\n---\n drivers/crypto/talitos.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c\nindex 5cc160078286..49f1561fa694 100644\n--- a/drivers/crypto/talitos.c\n+++ b/drivers/crypto/talitos.c\n@@ -1769,7 +1769,7 @@ static int common_nonsnoop_hash(struct talitos_edesc *edesc,\n \n \tsg_count = edesc->src_nents ?: 1;\n \tif (is_sec1 && sg_count > 1)\n-\t\tsg_copy_to_buffer(areq->src, sg_count, edesc->buf, length);\n+\t\tsg_copy_to_buffer(req_ctx->psrc, sg_count, edesc->buf, length);\n \telse\n \t\tsg_count = dma_map_sg(dev, req_ctx->psrc, sg_count,\n \t\t\t\t      DMA_TO_DEVICE);\n",
    "prefixes": [
        "2/6"
    ]
}