get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222979,
    "url": "http://patchwork.ozlabs.org/api/patches/2222979/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/ad3ikDJLGuoevpJm@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": "<ad3ikDJLGuoevpJm@tucnak>",
    "list_archive_url": null,
    "date": "2026-04-14T06:45:36",
    "name": "[committed] Fix comment typo in process_symver_attribute",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "82704361bea989605efc26ddfeb63a137883b394",
    "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/ad3ikDJLGuoevpJm@tucnak/mbox/",
    "series": [
        {
            "id": 499783,
            "url": "http://patchwork.ozlabs.org/api/series/499783/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=499783",
            "date": "2026-04-14T06:45:36",
            "name": "[committed] Fix comment typo in process_symver_attribute",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499783/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222979/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222979/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=EdK7uvFe;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::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=EdK7uvFe",
            "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\n [IPv6:2620:52:6:3111::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 4fvvts5TTCz1yDF\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 16:46:12 +1000 (AEST)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 5D8DA4BA2E32\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 14 Apr 2026 06:46:10 +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 086EC4BA2E0D\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 06:45:42 +0000 (GMT)",
            "from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-278-9NZAP9v1PFqKpyG_FKw_OA-1; Tue,\n 14 Apr 2026 02:45:41 -0400",
            "from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 32DD61956054\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 06:45:40 +0000 (UTC)",
            "from tucnak.zalov.cz (unknown [10.44.33.129])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with\n ESMTPS\n id B922B3000C16\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 06:45:39 +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 63E6jaP32951586\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT)\n for <gcc-patches@gcc.gnu.org>; Tue, 14 Apr 2026 08:45:36 +0200",
            "(from jakub@localhost)\n by tucnak.zalov.cz (8.18.1/8.18.1/Submit) id 63E6jaI62951585\n for gcc-patches@gcc.gnu.org; Tue, 14 Apr 2026 08:45:36 +0200"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 5D8DA4BA2E32",
            "OpenDKIM Filter v2.11.0 sourceware.org 086EC4BA2E0D"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 086EC4BA2E0D",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 086EC4BA2E0D",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1776149143; cv=none;\n b=NF+RvT7eyyU7MUyusCqU0JQ/Ge3Gya96QLFNBjelPFo7W+ENlM1WXBZlfTDPU+TBfq4uAlYKnIecLDocad573z0Vtnyy0KfjZUeJHtI8pb37A2KIv2ixCLMPjexQU5dVAbvM8xoMIqHwpJLu0UJ9DdB66Fizu9gQ6T4SExkywII=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1776149143; c=relaxed/simple;\n bh=3IgBDSNx+DobMzywHE7f/Qd/coZYVNYiDr3flsh0nhc=;\n h=DKIM-Signature:Date:From:To:Subject:Message-ID:MIME-Version;\n b=HvQs7uCiFUWRoxI3TMptkN8OGa+PW3Pe8jZyIhpHZ9AILhnSJl5ajMhjmY/wxBlbvfc/vUg8IJgusyf/C6NzQN33zUnrdXz2hCqPcvW2wDVPq5pmn7f4Yza0B2Ub8A+kkUk+b4St0BDLx/TDgPbzYTVdhwfWV22zr+gxJ+o2Do8=",
        "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=1776149142;\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=LWbMhhyORprm9B5L8/VOdOTAOL190PEzb2l5hp16Gj0=;\n b=EdK7uvFef1OFnLt4KzoZbNdjvDLyWQSv21B5dd5lCkMi2FkSTbLaaC5tMlWMqA0b62vRWB\n 1fD6noSCxzpCHHz/1/WKEYhGUudMd46K6olpvbcNewp4YhLRA+T0hGW8Gr3N7Lu5NquOkz\n vFwtG60epINMRGfiqWm4qXXsE46OyJY=",
        "X-MC-Unique": "9NZAP9v1PFqKpyG_FKw_OA-1",
        "X-Mimecast-MFC-AGG-ID": "9NZAP9v1PFqKpyG_FKw_OA_1776149140",
        "Date": "Tue, 14 Apr 2026 08:45:36 +0200",
        "From": "Jakub Jelinek <jakub@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org",
        "Subject": "[committed] Fix comment typo in process_symver_attribute",
        "Message-ID": "<ad3ikDJLGuoevpJm@tucnak>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.4",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "G0A8qWMSHO4FvI94gxwu3_gi1-I_3n9D7icXYaMJgbU_1776149140",
        "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\nI've noticed a typo in process_symver_attribute comment, fixed thusly.\n\nBootstrapped/regtested on x86_64-linux and i686-linux, committed to\ntrunk as obvious.\n\n2026-04-14  Jakub Jelinek  <jakub@redhat.com>\n\n\t* cgraphunit.cc (process_symver_attribute): Fix comment typo,\n\tbintuils -> binutils.\n\n\n\tJakub",
    "diff": "--- gcc/cgraphunit.cc.jj\t2026-03-27 10:17:13.735337250 +0100\n+++ gcc/cgraphunit.cc\t2026-04-13 20:38:02.693442159 +0200\n@@ -739,7 +739,7 @@ process_symver_attribute (symtab_node *n\n \n   for (; value != NULL; value = TREE_CHAIN (value))\n     {\n-      /* Starting from bintuils 2.35 gas supports:\n+      /* Starting from binutils 2.35 gas supports:\n \t  # Assign foo to bar@V1 and baz@V2.\n \t  .symver foo, bar@V1\n \t  .symver foo, baz@V2\n",
    "prefixes": [
        "committed"
    ]
}