get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2195307,
    "url": "http://patchwork.ozlabs.org/api/patches/2195307/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/fae7aac5-2226-4dc8-a956-4b2bb79240b2@gmail.com/",
    "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": "<fae7aac5-2226-4dc8-a956-4b2bb79240b2@gmail.com>",
    "list_archive_url": null,
    "date": "2026-02-10T18:05:42",
    "name": "[4/13] Coarray shared memory library",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "62c2627f05ceffb6f2ba09eadbb7e4be52b5c241",
    "submitter": {
        "id": 78264,
        "url": "http://patchwork.ozlabs.org/api/people/78264/?format=api",
        "name": "Jerry D",
        "email": "jvdelisle2@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/fae7aac5-2226-4dc8-a956-4b2bb79240b2@gmail.com/mbox/",
    "series": [
        {
            "id": 491719,
            "url": "http://patchwork.ozlabs.org/api/series/491719/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=491719",
            "date": "2026-02-10T17:55:35",
            "name": "[1/13] Coarray shared memory library",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491719/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195307/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195307/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 (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=NMsKSMPX;\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 (2048-bit key,\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20230601 header.b=NMsKSMPX",
            "sourceware.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "sourceware.org; spf=pass smtp.mailfrom=gmail.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=209.85.214.176"
        ],
        "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 4f9Tyn1MqWz1xwG\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Feb 2026 05:06:25 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 007AF4BA23C5\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 10 Feb 2026 18:06:23 +0000 (GMT)",
            "from mail-pl1-f176.google.com (mail-pl1-f176.google.com\n [209.85.214.176])\n by sourceware.org (Postfix) with ESMTPS id C72CF4BA2E11\n for <gcc-patches@gcc.gnu.org>; Tue, 10 Feb 2026 18:05:44 +0000 (GMT)",
            "by mail-pl1-f176.google.com with SMTP id\n d9443c01a7336-2a7b47a5460so397575ad.1\n for <gcc-patches@gcc.gnu.org>; Tue, 10 Feb 2026 10:05:44 -0800 (PST)",
            "from [10.168.168.23] ([50.37.179.80])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2a9521e0f39sm149570445ad.67.2026.02.10.10.05.42\n (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n Tue, 10 Feb 2026 10:05:43 -0800 (PST)"
        ],
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 sourceware.org 007AF4BA23C5",
            "OpenDKIM Filter v2.11.0 sourceware.org C72CF4BA2E11"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org C72CF4BA2E11",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org C72CF4BA2E11",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1770746745; cv=none;\n b=IDIqpV8nX3j0QmF4PGipbGKnNZzP6wS4NtRErgXz62E7P75644iO/stThWU7dg/YrK2Gk9Ql9ihssC5a2mXGc+DaMnzWChDbt2YwbA0fGNCv/Bt2l0Nak8LZ8Pw6TrYqF5FaeiZlio0OllkI4XWZ+m33ZjZ8YaNtcbcPosPc6hI=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1770746745; c=relaxed/simple;\n bh=/x/Hh/VBy9Cov+r1q3XwXlTk61WDYBxi8H9pqgiPd1s=;\n h=DKIM-Signature:Message-ID:Date:MIME-Version:To:From:Subject;\n b=XRSDKEl6txQzsZxpJF3lLNCeDmdmDHYkwE12spmT+yfZNC8ooWxMTCHqWifZ2MunwwNa0riIG8MmuB49oM+ua40N6q1of5x1Djv4CWpi2cV58Enoi6aWL+ItaOR1pbxzpE+Gri6rz9RjqrZwtDdazh4G75MwgLyVGL3VMyuGU/0=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20230601; t=1770746744; x=1771351544; darn=gcc.gnu.org;\n h=autocrypt:subject:from:cc:to:content-language:user-agent\n :mime-version:date:message-id:from:to:cc:subject:date:message-id\n :reply-to; bh=/x/Hh/VBy9Cov+r1q3XwXlTk61WDYBxi8H9pqgiPd1s=;\n b=NMsKSMPXtB/u2+SuzYDqUjQ6AvwrHrMqu0Fkk7Nt2WGhNoAgj4dRO7pBxYdiI7ZsNP\n d/kc/Utedd5O5rwfaK01/dYbh6foMIIjqnO+uf/3CfzkpkLwjq8zPJv/3zM/ZECF+8TZ\n IHNsNM/Lwnc3ZhdMgn34fxL+sQnkkHA6jLvcJAyiY6SwP0KIIQnoygGceyHE6rgX+OBC\n GQaINEEsnzRbVSgY+SvK18yBE7NS6jfEN2QXusSEYJZoklS8UzpUweOzxYOjLzMrU1KZ\n 7cqUzh7vOTsi4pLOgOTU/bpJAJRc+lfO9ciS5v8D8+SF6eAWI6eBsHReEIfQ1EBN5KZT\n 0+RA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1770746744; x=1771351544;\n h=autocrypt:subject:from:cc:to:content-language:user-agent\n :mime-version:date:message-id:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=/x/Hh/VBy9Cov+r1q3XwXlTk61WDYBxi8H9pqgiPd1s=;\n b=sQlKBIe/xwTJmxeJOc4I/F+K8U9V2ZFYnl09Ml8JkYiNDK0OdFpS+3CyQdDtCwaODe\n tyUiZHyX3Y46u4JKDu3e6CGBttqZMhGXotrtmEVSHyY5uvuM4BozeIzc3PhBoF11+9S/\n Uj5YzDsuNkBc431RcFhk++pHmHueflZ/fJrsMjlXjEqyDLpD3G3j+rqaamJmA8hFKNkj\n wccn8qcsiL15qNCNdJZI4zsjMb8kC0NXh40HhxVjoGB27Ce6ot6+/XJoT6YPv+NmHI6T\n YoejbW2El/XQ4f3URfWFryzc+uGzwPiT7pVRk7zaYOvtCn4TR4BH3jvoru9Qiyv8IQom\n zHJg==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCU5S7kYCSXjI+s0yQNjL0GjzNCuTsSG/juNkBf7sBGMYggULL4h1geb2hYhDZSk3ajJsxx2UHDYNcofYg==@gcc.gnu.org",
        "X-Gm-Message-State": "AOJu0YwBtbSn2HhvmV4OmobZnCqTU7q9qbs3NF8OLrTFJEJMmUh48/Kk\n Dss9l1WYz6+GROQi5MMEu2lnTAi4vBrTUzBXhwogZb6JQhsnZZY5v8gZ",
        "X-Gm-Gg": "AZuq6aKVNw2+XetR6bjnqT+Qszb8PX8wyLfv+t44bDCj7CVt54BFXXZPHvV9LHtZjck\n hbby0tbjlmf4KJudKXBeHHy/kaPyWdY4XVYRnn+Kyof0vk+b3gGiylGUl3vsjB9JrBoGUNa/NHv\n uCd08affX1h8wd3YCPzvBvoO+2xaIQECKcMT49cT0C/bVi6Mxc5u5xRtM25L97EwGptRviiCgBt\n epKSH72reK94jbdyS+m2OxlchWTuDTSt2E9fYetSUyApOeKNTCFt2AzniztEdH30Dd7tQ5bwB1Y\n kbuWZbf34L0WBQTaf1oxxVUHTtZAPkod/6HoeVwNRWPkYwnD/j0OhNxXj/NniHxOcpXupg+g8Yh\n PDK29auV0Nve3OxvL4/n7XZa9yHxHbT+SXkSVDtOroOm4CVdSCvH8BH91btcFx+gxuvpOzGKe7t\n tJvOrQEtan/WFcgHH/IiuwqdfHOoE=",
        "X-Received": "by 2002:a17:903:2284:b0:24b:1585:6350 with SMTP id\n d9443c01a7336-2ab100885f1mr28142005ad.11.1770746743710;\n Tue, 10 Feb 2026 10:05:43 -0800 (PST)",
        "Content-Type": "multipart/mixed; boundary=\"------------1D0ko9lWBVTgQLMA9Myytk5t\"",
        "Message-ID": "<fae7aac5-2226-4dc8-a956-4b2bb79240b2@gmail.com>",
        "Date": "Tue, 10 Feb 2026 10:05:42 -0800",
        "MIME-Version": "1.0",
        "User-Agent": "Mozilla Thunderbird",
        "Content-Language": "en-US",
        "To": "gfortran <fortran@gcc.gnu.org>, gcc-patches <gcc-patches@gcc.gnu.org>",
        "Cc": "Tobias Burnus <tburnus@baylibre.com>, Richard Biener <rguenther@suse.de>,\n Andre Vehreschild <vehre@gmx.de>, Jakub Jelinek <jakub@redhat.com>,\n Paul Richard Thomas <paul.richard.thomas@gmail.com>,\n FX Coudert <fxcoudert@gmail.com>, Toon Moene <toon@moene.org>",
        "From": "Jerry D <jvdelisle2@gmail.com>",
        "Subject": "[PATCH 4/13] Coarray shared memory library",
        "Autocrypt": "addr=jvdelisle2@gmail.com; keydata=\n xjMEY5TlkxYJKwYBBAHaRw8BAQdAyrkRDhmJhSTTlV/50gJLlvliU6/Lm5C9ViKV8T9y1GnN\n HkplcnJ5IEQgPGp2ZGVsaXNsZTJAZ21haWwuY29tPsKJBBMWCAAxFiEEOFR0TS0390uh8dRV\n uWXAJaWpwWoFAmOU5ZMCGwMECwkIBwUVCAkKCwUWAgMBAAAKCRC5ZcAlpanBalsJAP4wdCiH\n 2Of9oZv1QWgZ/AVdbWFM3Fv47/WZQHOXfoZ9HgD6AkXrKeJ+6usST7PEaDJjptaViT1fLiYY\n V/6XaOKSsgLOOARjlOWTEgorBgEEAZdVAQUBAQdAdA7PczYnl07vnOT9oP/wvvMDd4HP09Zl\n g3LzwXQJWT8DAQgHwngEGBYIACAWIQQ4VHRNLTf3S6Hx1FW5ZcAlpanBagUCY5TlkwIbDAAK\n CRC5ZcAlpanBasF/AQCa5WjlsVpLsEiggZyT18MOJNAdeRd7wkGDUrwedHrvawD/cE1H+/Ms\n L1ZwvQiLfGdx8crigQqWTQyos4kH8Wx82wc=",
        "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>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "Dear all, as requested,\n\nSee attached patch 4 of 13\n\nBest Regards,\n\nJerry",
    "diff": "commit 6105783de07add3e95a6c1e1159dbc83b4dcaa7b\nAuthor: Andre Vehreschild <vehre@gcc.gnu.org>\nDate:   Wed Jun 18 09:23:32 2025 +0200\n\n    Fortran: Fix signatures of coarray API and caf_single.\n    \n    The teams argument to some functions was marked as unused in the header.\n    With upcoming caf_shmem this is incorrect, given the mark is repeated in\n    caf_single.\n    \n    libgfortran/ChangeLog:\n    \n            * caf/libcaf.h (_gfortran_caf_failed_images): Team attribute is\n            used now in some libs.\n            (_gfortran_caf_image_status): Same.\n            (_gfortran_caf_stopped_images): Same.\n            * caf/single.c (caf_internal_error): Use correct printf function\n            to handle va_list.\n\ndiff --git a/libgfortran/caf/libcaf.h b/libgfortran/caf/libcaf.h\nindex 06617a142b8..022ac5c365f 100644\n--- a/libgfortran/caf/libcaf.h\n+++ b/libgfortran/caf/libcaf.h\n@@ -175,12 +175,9 @@ void _gfortran_caf_event_post (caf_token_t, size_t, int, int *, char *, size_t);\n void _gfortran_caf_event_wait (caf_token_t, size_t, int, int *, char *, size_t);\n void _gfortran_caf_event_query (caf_token_t, size_t, int, int *, int *);\n \n-void _gfortran_caf_failed_images (gfc_descriptor_t *,\n-\t\t\t\t  caf_team_t * __attribute__ ((unused)), int *);\n-int _gfortran_caf_image_status (int, caf_team_t * __attribute__ ((unused)));\n-void _gfortran_caf_stopped_images (gfc_descriptor_t *,\n-\t\t\t\t   caf_team_t * __attribute__ ((unused)),\n-\t\t\t\t   int *);\n+void _gfortran_caf_failed_images (gfc_descriptor_t *, caf_team_t *, int *);\n+int _gfortran_caf_image_status (int, caf_team_t *);\n+void _gfortran_caf_stopped_images (gfc_descriptor_t *, caf_team_t *, int *);\n \n void _gfortran_caf_random_init (bool, bool);\n \ndiff --git a/libgfortran/caf/single.c b/libgfortran/caf/single.c\nindex 7e02dff25d8..43c83e65ec4 100644\n--- a/libgfortran/caf/single.c\n+++ b/libgfortran/caf/single.c\n@@ -129,7 +129,7 @@ caf_internal_error (const char *msg, int *stat, char *errmsg,\n       *stat = 1;\n       if (errmsg_len > 0)\n \t{\n-\t  int len = snprintf (errmsg, errmsg_len, msg, args);\n+\t  int len = vsnprintf (errmsg, errmsg_len, msg, args);\n \t  if (len >= 0 && errmsg_len > (size_t) len)\n \t    memset (&errmsg[len], ' ', errmsg_len - len);\n \t}\n",
    "prefixes": [
        "4/13"
    ]
}