get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2231905,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231905/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260501145436.1327-2-atrajeev@linux.ibm.com/",
    "project": {
        "id": 2,
        "url": "http://patchwork.ozlabs.org/api/1.1/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/"
    },
    "msgid": "<20260501145436.1327-2-atrajeev@linux.ibm.com>",
    "date": "2026-05-01T14:54:36",
    "name": "[V2,2/2] tools/perf: Add kernel-doc comment to auxtrace_record__init() function",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "04f7abce66f3037fae081bf31c4e76fef0e0d0f6",
    "submitter": {
        "id": 90290,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/90290/?format=api",
        "name": "Athira Rajeev",
        "email": "atrajeev@linux.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260501145436.1327-2-atrajeev@linux.ibm.com/mbox/",
    "series": [
        {
            "id": 502470,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502470/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=502470",
            "date": "2026-05-01T14:54:35",
            "name": "[V2,1/2] powerpc tools perf: Initialize error code in auxtrace_record_init function",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/502470/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2231905/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2231905/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linuxppc-dev+bounces-20366-incoming=patchwork.ozlabs.org@lists.ozlabs.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linuxppc-dev@lists.ozlabs.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=WKMJSrPM;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-20366-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)",
            "lists.ozlabs.org;\n arc=none smtp.remote-ip=148.163.156.1",
            "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.ibm.com",
            "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=WKMJSrPM;\n\tdkim-atps=neutral",
            "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linux.ibm.com\n (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com;\n envelope-from=atrajeev@linux.ibm.com; receiver=lists.ozlabs.org)"
        ],
        "Received": [
            "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1 raw public key)\n server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g6Yx549M8z1xqf\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 02 May 2026 00:55:05 +1000 (AEST)",
            "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g6Yx31svSz30Pp;\n\tSat, 02 May 2026 00:55:03 +1000 (AEST)",
            "from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com\n [148.163.156.1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4g6Yx22zK2z309S\n\tfor <linuxppc-dev@lists.ozlabs.org>; Sat, 02 May 2026 00:55:01 +1000 (AEST)",
            "from pps.filterd (m0356517.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 6418Iuh61694171;\n\tFri, 1 May 2026 14:54:58 GMT",
            "from ppma12.dal12v.mail.ibm.com\n (dc.9e.1632.ip4.static.sl-reverse.com [50.22.158.220])\n\tby mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4drnb5n25c-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tFri, 01 May 2026 14:54:57 +0000 (GMT)",
            "from pps.filterd (ppma12.dal12v.mail.ibm.com [127.0.0.1])\n\tby ppma12.dal12v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id\n 641ErpE3015302;\n\tFri, 1 May 2026 14:54:56 GMT",
            "from smtprelay06.fra02v.mail.ibm.com ([9.218.2.230])\n\tby ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4ds7xqr05j-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tFri, 01 May 2026 14:54:56 +0000 (GMT)",
            "from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com\n [10.20.54.106])\n\tby smtprelay06.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 641EsrLq24052036\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n\tFri, 1 May 2026 14:54:53 GMT",
            "from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id F172E20043;\n\tFri,  1 May 2026 14:54:52 +0000 (GMT)",
            "from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id A902720040;\n\tFri,  1 May 2026 14:54:46 +0000 (GMT)",
            "from localhost.localdomain (unknown [9.39.19.167])\n\tby smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP;\n\tFri,  1 May 2026 14:54:46 +0000 (GMT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777647303;\n\tcv=none;\n b=AIprDN/Vkeg3p0IPLkUPNhX0lNi4CH7v8FpAD7fiY/NSnnl2AnNLv3Y3a/HoolbvFrx01WU3OOAH51+ro26yg1tern7kV0LqMeQwdcflLPNYHplmB2wpuquo4M7/r3VT7Tg1HUb69pv1lP/rH8ztpp6jtl8lTzEZUvyQ2vGZrasxOEgO6V2k27WjQhhk4HXJ/IhKwfM+eq/WUdIZa5MpVY2DtJNxErCTHwY1KqEqNgfbkjBcRSW70Rz0GuFfUvjdVZcp94Fm1EyzCIuFP8PdFZU515I/CKvnR9Tv3uIKf3NurZJN7Enkz3I0dD8W9vTKp7HZOIuPP2BGk7pmgBB8PA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777647303; c=relaxed/relaxed;\n\tbh=PaUPb61T35gRamkyqo/ocyRJdv5JEcgJkkvFNjCMw6E=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=fkFtfk3wgraeTWiizIu9CF9YW7oKc3fge9l0HEYQSZiUDBntGgwywX5b2q42PHhKDnp1s6BpiZBfnDjeRY18PzmdbbUZc+SKIC+Xr1l6XTht6UKAxthO3Ruo8dW2Z6gfqI8Lu4xH6PN/aZAT3AaQAutl++LsJY/UDBgHv9i3kQrN0TvH2X7QDScmgMcuVrl2M2hwxtgJOFNCveGJ4gO/5ojkzWG8nEEXV/BO8FXQHEkSJu9H76bd+zhGMcfeo0ORycclW0/N74bV7q+MUg2vwm8veWmiDQziBh1CZHex9Xw7m+hyeUrFgkKeHQAZE6txJwRUbJoLDW9icSJH7AEqAw==",
        "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.ibm.com;\n dkim=pass (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=WKMJSrPM; dkim-atps=neutral;\n spf=pass (client-ip=148.163.156.1; helo=mx0a-001b2d01.pphosted.com;\n envelope-from=atrajeev@linux.ibm.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=linux.ibm.com",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc\n\t:content-transfer-encoding:date:from:in-reply-to:message-id\n\t:mime-version:references:subject:to; s=pp1; bh=PaUPb61T35gRamkyq\n\to/ocyRJdv5JEcgJkkvFNjCMw6E=; b=WKMJSrPMUAoerRxCUtinTc1qyfNtfgsSI\n\tazTITfG6aNQpczF4jgTOZma9VisUCvVrFmjzB9y1Yz82MfR5MqH5AUiW5lpW1ALE\n\tMSJpTK8aJRlbCFUcmTVIHJqIKvTG3DOmQkxEA0/MGo8TIl0j9vKIHQjASnrnVHyH\n\tfpQvPK0fu/sOsM7tVtxt3aZ/R4+v7jFl5jN8YOpaiHaJKsvMCQxbb/KGiX9Tkp4j\n\t047AyPutVEbDq1kJADY3luIN0hK5ZTtN9nwkBmnWlp2jnTrtUgPSY9HWEHUgb6gv\n\t25rfwFBJlziuXx9cGd4KA7T2zC4rMHxw/V9kNvnbtIfR9Ar0CIZVQ==",
        "From": "Athira Rajeev <atrajeev@linux.ibm.com>",
        "To": "acme@kernel.org, jolsa@kernel.org, adrian.hunter@intel.com,\n        mpetlan@redhat.com, tmricht@linux.ibm.com, maddy@linux.ibm.com,\n        irogers@google.com, namhyung@kernel.org",
        "Cc": "linux-perf-users@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,\n        atrajeev@linux.ibm.com, hbathini@linux.vnet.ibm.com,\n        Tejas.Manhas1@ibm.com, Tanushree.Shah@ibm.com, shivani@linux.ibm.com",
        "Subject": "[PATCH V2 2/2] tools/perf: Add kernel-doc comment to\n auxtrace_record__init() function",
        "Date": "Fri,  1 May 2026 20:24:36 +0530",
        "Message-Id": "<20260501145436.1327-2-atrajeev@linux.ibm.com>",
        "X-Mailer": "git-send-email 2.39.5 (Apple Git-154)",
        "In-Reply-To": "<20260501145436.1327-1-atrajeev@linux.ibm.com>",
        "References": "<20260501145436.1327-1-atrajeev@linux.ibm.com>",
        "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org",
        "List-Id": "<linuxppc-dev.lists.ozlabs.org>",
        "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>",
        "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>",
        "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>",
        "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n  <https://lists.ozlabs.org/pipermail/linuxppc-dev/>",
        "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n  <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>",
        "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>",
        "Precedence": "list",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-TM-AS-GCONF": "00",
        "X-Proofpoint-Reinject": "loops=2 maxloops=12",
        "X-Authority-Analysis": "v=2.4 cv=AqDeGu9P c=1 sm=1 tr=0 ts=69f4bec1 cx=c_pps\n a=bLidbwmWQ0KltjZqbj+ezA==:117 a=bLidbwmWQ0KltjZqbj+ezA==:17\n a=NGcC8JguVDcA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=U7nrCbtTmkRpXpFmAIza:22 a=VnNF1IyMAAAA:8 a=rIN8eMsy0-pcsuMf_RkA:9",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNTAxMDE0NCBTYWx0ZWRfX4RGGXf5sQWQs\n zgJnySMOQGmDKdYDndPklFEHkx1mTXRDccYqId4LbfHkIkjmXKnH7Yx5vRAZiYEqYt7TnKVn3Ll\n eJs2JwjqmskkC1zN91x4SdBAkSFjcqjYnnvEY18VusAtFAk38MLmxJSlzR137hAjtVuMZ3g27wz\n 5M6HLKf+SJ+b1o9jq9BxdZj0vETXIsjsb/yQ8GT4MASg66Inf7RHNRrOL4ztxCMptpaInGBicP1\n 1K8TsYIploU/XTAMC+g/LOAMr3mhalrU/OmEWaPo67hNliLbD3h3KiqpIjklGhRNQ4Ny2PQMs75\n 3TtDkdyRni/hRObvwLR6MoePbVMU625fuOZy+nRqLhLGTQlSQPvWRmyQA36K27eTMn7UE5Jf7Jn\n +fT1FByviRWOfjbasUjNslQGU/PHVOXUBJo+i1qNGFHS/u7Y+RGoSHttQ07dUTExyZjonHvM3Jc\n WZn+N0eccW/LAEcOk3A==",
        "X-Proofpoint-GUID": "j7-9lroufTt8fT8PR_LhIWeGphBGGj0m",
        "X-Proofpoint-ORIG-GUID": "pseR7_Cu_uKjSUU7-m2QyVgNJ7bh7rTu",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-05-01_04,2026-04-30_02,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n adultscore=0 priorityscore=1501 phishscore=0 suspectscore=0 clxscore=1015\n lowpriorityscore=0 spamscore=0 bulkscore=0 impostorscore=0 malwarescore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2605010144",
        "X-Spam-Status": "No, score=-0.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID,\n\tRCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,\n\tSPF_PASS autolearn=disabled version=4.0.1 OzLabs 8",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org"
    },
    "content": "Add documentation comment describing the parameters\nand return code for auxtrace_record__init() in util/auxtrace.c\n\nUsing \"struct evlist *evlist __maybe_unused\", gives below\nwarning with \"scripts/kernel-doc\".\n\n # ./scripts/kernel-doc -none tools/perf/util/auxtrace.c\n Warning: tools/perf/util/auxtrace.c:912 function parameter '__maybe_unused' not described in 'auxtrace_record__init'\n Warning: tools/perf/util/auxtrace.c:912 function parameter '__maybe_unused' not described in 'auxtrace_record__init'\n\nUpdated  parameter as \"struct evlist __maybe_unused *evlist\"\nWith the change, there is no erros/warnings with kernel-doc\n\nSigned-off-by: Athira Rajeev <atrajeev@linux.ibm.com>\n---\n tools/perf/util/auxtrace.c | 14 +++++++++++++-\n 1 file changed, 13 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/tools/perf/util/auxtrace.c b/tools/perf/util/auxtrace.c\nindex a224687ffbc1..8c0447c54003 100644\n--- a/tools/perf/util/auxtrace.c\n+++ b/tools/perf/util/auxtrace.c\n@@ -896,8 +896,20 @@ int auxtrace_parse_aux_action(struct evlist *evlist)\n \treturn 0;\n }\n \n+/**\n+ * auxtrace_record__init - Initialize an AUX area tracing record.\n+ * @evlist: The list of events to check for AUX area tracing event.\n+ * @err: Pointer to an integer to store return code.\n+ *\n+ * This function looks through the @evlist to determine which AUX area\n+ * tracing hardware is being used and initializes the auxtrace_record\n+ * structure.\n+ *\n+ * Return: A pointer to the struct auxtrace_record on success, or NULL on\n+ * failure (@err needs to be set).\n+ */\n struct auxtrace_record *__weak\n-auxtrace_record__init(struct evlist *evlist __maybe_unused, int *err)\n+auxtrace_record__init(struct evlist __maybe_unused *evlist, int *err)\n {\n \t*err = 0;\n \treturn NULL;\n",
    "prefixes": [
        "V2",
        "2/2"
    ]
}