Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2232012/?format=api
{ "id": 2232012, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2232012/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260502073924.99965-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": "<20260502073924.99965-2-atrajeev@linux.ibm.com>", "date": "2026-05-02T07:39:24", "name": "[V3,2/2] tools/perf: Add kernel-doc comment to auxtrace_record__init() function", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "95851428f9386919a3d7305581c0ee43d4ebd090", "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/20260502073924.99965-2-atrajeev@linux.ibm.com/mbox/", "series": [ { "id": 502514, "url": "http://patchwork.ozlabs.org/api/1.1/series/502514/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=502514", "date": "2026-05-02T07:39:23", "name": "[V3,1/2] powerpc tools perf: Initialize error code in auxtrace_record_init function", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/502514/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2232012/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/2232012/checks/", "tags": {}, "headers": { "Return-Path": "\n <linuxppc-dev+bounces-20379-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=pQVlS8gF;\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-20379-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=pQVlS8gF;\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 4g70DX5J48z1y04\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 02 May 2026 17:39:56 +1000 (AEST)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4g70DR3kVDz30LS;\n\tSat, 02 May 2026 17:39:51 +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 4g70DQ63jQz2xld\n\tfor <linuxppc-dev@lists.ozlabs.org>; Sat, 02 May 2026 17:39:50 +1000 (AEST)", "from pps.filterd (m0353729.ppops.net [127.0.0.1])\n\tby mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 64245iLU1991207;\n\tSat, 2 May 2026 07:39:46 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 4dw9x48cyn-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tSat, 02 May 2026 07:39:46 +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 6427OWdY018472;\n\tSat, 2 May 2026 07:39:45 GMT", "from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227])\n\tby ppma12.dal12v.mail.ibm.com (PPS) with ESMTPS id 4dw9gvghgp-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n\tSat, 02 May 2026 07:39:45 +0000 (GMT)", "from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com\n [10.20.54.104])\n\tby smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 6427dfdm62325010\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK);\n\tSat, 2 May 2026 07:39:41 GMT", "from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id A508A2004D;\n\tSat, 2 May 2026 07:39:41 +0000 (GMT)", "from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1])\n\tby IMSVA (Postfix) with ESMTP id 360CD2004B;\n\tSat, 2 May 2026 07:39:36 +0000 (GMT)", "from localhost.localdomain (unknown [9.124.223.37])\n\tby smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP;\n\tSat, 2 May 2026 07:39:35 +0000 (GMT)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1777707591;\n\tcv=none;\n b=XQrF4vsJjky6BJCRdZCKgdzFOijzN4olCY2yfrlypciLJbKsGTMT0vBjWYgc2aL6Y/+2CjynolFxsJ4mPtn4jrETt0GVm811+vZNHkE+etOARWp1VipXRc2izTF/rVZZ6gfzrYBuhNo34EtqqzZvQGbOhid3T7Qy0eTPxCpCBcDBWEmyDlq22dORJTN2vuAeTvltHyVX6jQiKF8PtukoiGPRPGoASh5oXuiBUc2zQ3FxF3kcpzWfT6YVyhkRPko0Hn5Wsj+BqpqLHOlYTuO4nxrXKyqGmmSR2DgAHTjZBbNKrqlTFU20tMKiDrz5HQgHWcGmZN7NfNEgipqy0A10Dw==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1777707591; c=relaxed/relaxed;\n\tbh=Xnbge8CoMk91fCFY+7ORptdU/ah1OI5WNPSruc3SwOA=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version;\n b=XTDvIYAU6bQZQItSmZgegcEm9a7CSafIWpOcehi+3P/iX3Gp73zWSTll5ER7Bic2k9ZI5VoLU9FWAbePHmx2PgW00UUUo0oC5mIu1c9q/NIDII3XhreWvASU8j3097GgloPIs9YmIy+fK3oXN/5uWKzk6awssbn1kMi5aNCr5C3BCRRSg97R2T8F07J6a8Q1LnW5jew2zpi1CTevyjT1cmZchS2YmXAbY4uCtYWWGeV1U8qno7rvTSlZt0Knu9c4otHkSaUfqPx7poSp3HCrROZL8woQ7ZTAgdj9NPcnnwAG5DfTwomebMOEa+7BWJmJQw+81Gwx7HS1MXM3JkHO6g==", "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=pQVlS8gF; 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=Xnbge8CoMk91fCFY+\n\t7ORptdU/ah1OI5WNPSruc3SwOA=; b=pQVlS8gF0RtEtSZWj/lLb4zqEst4TSGdS\n\tkBtFmcef31lq8eSQRxc/Za9PPYn/bcb9urtebL145TBCy6mapr+sxPEwyKARO9lw\n\tf4UaYhJAIpTVjhhXnOS5Ua4vDvFQg56pb6/uSFK7isjQAfE9B8ggRyQrSrKt9pvz\n\tV+Msk82/jO7UAABjctnBsDQd7U9Js6Saimn8zVD8GimKHraapACsBM6d+5ygbp9o\n\tjOLZfDl5/xwIFExhN7s89RPdT8eEJNl2AcLw7dPSxIKp8GJWi9E2vHc0qkABcFyn\n\tKBAAX+i3Oe3bmXhLBtx8syib2c7GUsnyll+lE6EXIVD+4RIWa9+pw==", "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 V3 2/2] tools/perf: Add kernel-doc comment to\n auxtrace_record__init() function", "Date": "Sat, 2 May 2026 13:09:24 +0530", "Message-Id": "<20260502073924.99965-2-atrajeev@linux.ibm.com>", "X-Mailer": "git-send-email 2.39.5 (Apple Git-154)", "In-Reply-To": "<20260502073924.99965-1-atrajeev@linux.ibm.com>", "References": "<20260502073924.99965-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-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNTAyMDA3MyBTYWx0ZWRfX+wH46C5zpQqO\n Wn3Ga1v/a7pGVy6A6q9mFHKpm7B0pE6S/sShqC2ejeYuDiyjr9b47tOiieUOtRLZtesM83qMUGA\n wHAbq098C8tkuFqGHSX+SVm0Nv+OCA6lnAlFbJ63kxm3BCZ/yGmLpl2iYbSN21g2hcuwFKxDHm2\n enXLiTzP+BBbT4MtPVDebs7RD9CR1L+AiZRmAiNlHgU+ZQka3UjtbWg/15NHaSTctwNB9KSJIIk\n 1BS7Gs0vnhH17VZsHBWw0jYfWPhlaIYf3CG1RuaIpbMkX4Cubl7vC3DxMzibIAPcSn7RHFRmixF\n ZDVE4K/gy1+Em86UJj2pC+TvYHPc7qRyJ3TIFU+2yr0Mg8blbuStlSmRqUR/ZqT1tDUPfDDdKhx\n P5H0AOsR9NzAedq4AsMpwQlYQnIVMFperW872rrkbqreMKO3EOcyb0d4c9CbmUNGVOkEX4V0ybN\n IwAWqtg3gypYxdjMimg==", "X-Proofpoint-ORIG-GUID": "u5c1YBMnXLrbHmRniOJgDvlWHoWX-Rdd", "X-Proofpoint-GUID": "yK053_OTjNwlPlZPqNKECOGiKeJtBxs4", "X-Authority-Analysis": "v=2.4 cv=W7UIkxWk c=1 sm=1 tr=0 ts=69f5aa42 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=uAbxVGIbfxUO_5tXvNgY:22 a=VnNF1IyMAAAA:8 a=V_ROcSP5cVqbivJN_SYA:9", "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-02_02,2026-04-30_02,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n priorityscore=1501 adultscore=0 lowpriorityscore=0 malwarescore=0\n suspectscore=0 spamscore=0 clxscore=1015 phishscore=0 bulkscore=0\n impostorscore=0 classifier=typeunknown authscore=0 authtc= authcc=\n route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2604200000\n definitions=main-2605020073", "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---\nChangelog:\nv2 -> v3:\nAddressed review comment from Sashiko:\nUpdate return value expectation for success and fail\ncorrectly.\n\n tools/perf/util/auxtrace.c | 17 ++++++++++++++++-\n 1 file changed, 16 insertions(+), 1 deletion(-)", "diff": "diff --git a/tools/perf/util/auxtrace.c b/tools/perf/util/auxtrace.c\nindex a224687ffbc1..6aeccedc7f2d 100644\n--- a/tools/perf/util/auxtrace.c\n+++ b/tools/perf/util/auxtrace.c\n@@ -896,8 +896,23 @@ 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:\n+ * a) A pointer to the struct auxtrace_record on success.\n+ * b) NULL with @err = 0 if no AUX area tracing event is found/supported\n+ * (not considered an error).\n+ * c) NULL with @err < 0 on actual auxtrace_record__init failure.\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": [ "V3", "2/2" ] }