get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2194196,
    "url": "http://patchwork.ozlabs.org/api/patches/2194196/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/aYcQC0FfDpBkzP0C@tucnak/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<aYcQC0FfDpBkzP0C@tucnak>",
    "list_archive_url": null,
    "date": "2026-02-07T10:12:27",
    "name": "[committed] Fix comment typos in permutation spelling",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "9c0a888d89d5dbe577a10640b282a65d54fd07e1",
    "submitter": {
        "id": 671,
        "url": "http://patchwork.ozlabs.org/api/people/671/?format=api",
        "name": "Jakub Jelinek",
        "email": "jakub@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/aYcQC0FfDpBkzP0C@tucnak/mbox/",
    "series": [
        {
            "id": 491371,
            "url": "http://patchwork.ozlabs.org/api/series/491371/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491371",
            "date": "2026-02-07T10:12:27",
            "name": "[committed] Fix comment typos in permutation spelling",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491371/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194196/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194196/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=KTuaaJ3s;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=38.145.34.32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=KTuaaJ3s",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.133.124"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f7Rc13s6Lz1xtV\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 07 Feb 2026 21:13:05 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 5FEA14AB0F3A\n\tfor <incoming@patchwork.ozlabs.org>; Sat,  7 Feb 2026 10:13:03 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by sourceware.org (Postfix) with ESMTP id EC6074AB0F38\n for <gcc-patches@gcc.gnu.org>; Sat,  7 Feb 2026 10:12:33 +0000 (GMT)",
            "from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-436-qmDvT1j8NJ6tWonhjcWlZQ-1; Sat,\n 07 Feb 2026 05:12:32 -0500",
            "from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 6EECC18004BB\n for <gcc-patches@gcc.gnu.org>; Sat,  7 Feb 2026 10:12:31 +0000 (UTC)",
            "from tucnak.zalov.cz (unknown [10.45.226.62])\n by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id 00E3119373D8\n for <gcc-patches@gcc.gnu.org>; Sat,  7 Feb 2026 10:12:30 +0000 (UTC)",
            "from tucnak.zalov.cz (localhost [127.0.0.1])\n by tucnak.zalov.cz (8.18.1/8.18.1) with ESMTPS id 617ACRvV747961\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)\n for <gcc-patches@gcc.gnu.org>; Sat, 7 Feb 2026 11:12:27 +0100",
            "(from jakub@localhost)\n by tucnak.zalov.cz (8.18.1/8.18.1/Submit) id 617ACRQY747960\n for gcc-patches@gcc.gnu.org; Sat, 7 Feb 2026 11:12:27 +0100"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 5FEA14AB0F3A",
            "OpenDKIM Filter v2.11.0 sourceware.org EC6074AB0F38"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org EC6074AB0F38",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org EC6074AB0F38",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770459154; cv=none;\n b=Ui8ovBCBZ3EzVjsm5ipjNnVFNnF15yiTO6pvj/7u+WnKqO0Sf5UTxPXFD9J3x9CjfuviSY3iIbBrEoWOO7/NsWXYLzqzJ27WXlEHIGBo/F7hCMi4fI6k7KhfQuwxv7zPiHCguxqwDQt/Zc5sAMBxRaA8iaGBN7P1H4/C9Z0MVsM=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770459154; c=relaxed/simple;\n bh=04Q9E7qMJ3fbODWlQGjj3eoZxJqL33EMyESeGQz2R7Y=;\n h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;\n b=Nr11FP+hzEQQeYZZCfTB8Sj/JCz4AuA2v0LTwHpSxX1dPxJ9pQzw5dM45Tik6bXkWEk8bdWnk/V0y6bNsmVAQhKioV3l2osKxBZMn+YmG46t+Y/9BRgCUehqBh4TiufOTdAN1YJoqxCGXuNdUjbHgdA1si2sqaMXLwLZ7VgOzvE=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1770459153;\n h=from:from:reply-to:reply-to:subject:subject:date:date:\n message-id:message-id:to:to:cc:mime-version:mime-version:\n content-type:content-type; bh=/mf/hQU9MWIP7rv3hY+JU4zQx1fz4yruygPqrbof4ag=;\n b=KTuaaJ3sO7zPI5oRss3w7cHroGBL635YVGNc5JR2ArLlfWTj5qbcBocIT9yjGh7uupFG+2\n NP2f3OacOc9PpggQdYIhkPYnrWqd7e0dAuXvrOfRERgaRWUpt59uwvo9mq1AIv+qsLDEyY\n PGZYNJN69v88cchiH+z8IdmQzV794UM=",
        "X-MC-Unique": "qmDvT1j8NJ6tWonhjcWlZQ-1",
        "X-Mimecast-MFC-AGG-ID": "qmDvT1j8NJ6tWonhjcWlZQ_1770459151",
        "Date": "Sat, 7 Feb 2026 11:12:27 +0100",
        "From": "Jakub Jelinek <jakub@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Subject": "[committed] Fix comment typos in permutation spelling",
        "Message-ID": "<aYcQC0FfDpBkzP0C@tucnak>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.17",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "RAiXR5di39CtsDv6T6rwHvYYn3xWkYpfcgoWK8zvtZ0_1770459151",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain; charset=us-ascii",
        "Content-Disposition": "inline",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Reply-To": "Jakub Jelinek <jakub@redhat.com>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Hi!\n\nNoticed two weird ways to spell permutation in some comments.\n\nCommitted to trunk as obvious.\n\n2026-02-07  Jakub Jelinek  <jakub@redhat.com>\n\n\t* optabs.cc (expand_vec_perm_const): Comment spelling fix,\n\tpermuation -> permutation.\n\t* config/arm/arm.cc (arm_evpc_neon_vtbl): Likewise.\n\t* config/loongarch/loongarch.cc (loongarch_try_expand_lsx_vshuf_const):\n\tComment spelling fix, permuatation -> permutation.\n\t(loongarch_is_elem_duplicate): Likewise.  Comment spelling fix,\n\tpermuation -> permutation.\n\n\n\tJakub",
    "diff": "--- gcc/optabs.cc.jj\t2026-01-29 23:24:41.162744585 +0100\n+++ gcc/optabs.cc\t2026-02-06 20:03:17.358148555 +0100\n@@ -6732,7 +6732,7 @@ expand_vec_perm_const (machine_mode mode\n     v1 = v0;\n   v1 = force_reg (mode, v1);\n \n-  /* Otherwise expand as a fully variable permuation.  */\n+  /* Otherwise expand as a fully variable permutation.  */\n \n   /* The optabs are only defined for selectors with the same width\n      as the values being permuted.  */\n--- gcc/config/arm/arm.cc.jj\t2026-02-06 11:18:47.070640322 +0100\n+++ gcc/config/arm/arm.cc\t2026-02-06 20:02:26.517997661 +0100\n@@ -32004,7 +32004,7 @@ arm_evpc_neon_vext (struct expand_vec_pe\n   return true;\n }\n \n-/* The NEON VTBL instruction is a fully variable permuation that's even\n+/* The NEON VTBL instruction is a fully variable permutation that's even\n    stronger than what we expose via VEC_PERM_EXPR.  What it doesn't do\n    is mask the index operand as VEC_PERM_EXPR requires.  Therefore we\n    can do slightly better by expanding this as a constant where we don't\n--- gcc/config/loongarch/loongarch.cc.jj\t2026-02-03 09:13:41.673724716 +0100\n+++ gcc/config/loongarch/loongarch.cc\t2026-02-06 20:03:01.150419248 +0100\n@@ -8848,7 +8848,7 @@ loongarch_set_handled_components (sbitma\n }\n \n /* Use the vshuf instruction to implement all 128-bit constant vector\n-   permuatation.  */\n+   permutation.  */\n \n static bool\n loongarch_try_expand_lsx_vshuf_const (struct expand_vec_perm_d *d)\n@@ -9581,7 +9581,7 @@ loongarch_is_elem_duplicate (struct expa\n    When GCC wants to performs a vector permutation, it provides two op\n    reigster, one target register, and a selector.\n    In const vector permutation case, GCC provides selector as a char array\n-   that contains original value; in variable vector permuatation\n+   that contains original value; in variable vector permutation\n    (performs via vec_perm<mode> insn template), it provides a vector register.\n    We assume that nelt is the elements numbers inside single vector in current\n    256bit vector mode.\n@@ -9608,7 +9608,7 @@ loongarch_is_elem_duplicate (struct expa\n    by single instruction easily.\n \n    3.  What LASX permutation instruction does:\n-   In short, it just execute two independent 128bit vector permuatation, and\n+   In short, it just execute two independent 128bit vector permutation, and\n    it's the reason that we need to do the jobs below.  We will explain it.\n    op0, op1, target, and selector will be separate into high 128bit and low\n    128bit, and do permutation as the description below:\n@@ -9638,8 +9638,8 @@ loongarch_is_elem_duplicate (struct expa\n    c) Use other instructions to process op and put correct result into target.\n    */\n \n-/* Implementation of constant vector permuatation.  This function identifies\n-   recognized pattern of permuation selector argument, and use one or more\n+/* Implementation of constant vector permutation.  This function identifies\n+   recognized pattern of permutation selector argument, and use one or more\n    instruction (s) to finish the permutation job correctly.  For unsupported\n    patterns, it will return false.  */\n \n",
    "prefixes": [
        "committed"
    ]
}