get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2223954,
    "url": "http://patchwork.ozlabs.org/api/patches/2223954/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260416121638.11858-2-sachinp@linux.ibm.com/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260416121638.11858-2-sachinp@linux.ibm.com>",
    "list_archive_url": null,
    "date": "2026-04-16T12:16:38",
    "name": "[2/2] io_uring: remove unused io_uring_init_buffer_pattern()",
    "commit_ref": null,
    "pull_url": null,
    "state": "needs-review-ack",
    "archived": false,
    "hash": "a81677ddf2974a73aad773fe70547c9746b46175",
    "submitter": {
        "id": 83212,
        "url": "http://patchwork.ozlabs.org/api/people/83212/?format=api",
        "name": "Sachin Sant",
        "email": "sachinp@linux.ibm.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260416121638.11858-2-sachinp@linux.ibm.com/mbox/",
    "series": [
        {
            "id": 500148,
            "url": "http://patchwork.ozlabs.org/api/series/500148/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=500148",
            "date": "2026-04-16T12:16:38",
            "name": "[v6,1/2] io_uring: Add test for READV and WRITEV operations",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500148/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2223954/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2223954/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=ibm.com header.i=@ibm.com header.a=rsa-sha256\n header.s=pp1 header.b=Rt9O1t8K;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [213.254.12.146])\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 4fxH7S6S1gz1yG9\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 22:16:52 +1000 (AEST)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id 1C0E73E1DC4\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 16 Apr 2026 14:16:50 +0200 (CEST)",
            "from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::2])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 66AF63C1E06\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 14:16:45 +0200 (CEST)",
            "from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com\n [148.163.158.5])\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 in-2.smtp.seeweb.it (Postfix) with ESMTPS id 2DFD5600AD1\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 14:16:44 +0200 (CEST)",
            "from pps.filterd (m0353725.ppops.net [127.0.0.1])\n by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63G2FAvg1733164\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:43 GMT",
            "from ppma23.wdc07v.mail.ibm.com\n (5d.69.3da9.ip4.static.sl-reverse.com [169.61.105.93])\n by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4dh89mcd1p-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:43 +0000 (GMT)",
            "from pps.filterd (ppma23.wdc07v.mail.ibm.com [127.0.0.1])\n by ppma23.wdc07v.mail.ibm.com (8.18.1.2/8.18.1.2) with ESMTP id\n 63GCEL3M004175\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:42 GMT",
            "from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225])\n by ppma23.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4dg24kjpsa-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:42 +0000",
            "from smtpav06.fra02v.mail.ibm.com (smtpav06.fra02v.mail.ibm.com\n [10.20.54.105])\n by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id\n 63GCGeTh37028336\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK)\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:40 GMT",
            "from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id B2D8820049\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:40 +0000 (GMT)",
            "from smtpav06.fra02v.mail.ibm.com (unknown [127.0.0.1])\n by IMSVA (Postfix) with ESMTP id 11CC320040\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:40 +0000 (GMT)",
            "from localhost.localdomain (unknown [9.43.36.193])\n by smtpav06.fra02v.mail.ibm.com (Postfix) with ESMTP\n for <ltp@lists.linux.it>; Thu, 16 Apr 2026 12:16:39 +0000 (GMT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=\n content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=pp1; bh=Q79PLk1p6Fgo9Y3kg\n r/PprPKpokyLPVZkjq9cRj72hA=; b=Rt9O1t8KrlMirCCfZApgmA4+U3yIMwVyX\n 1KAIOqYl1DM1n0/9XSsQbvqRbpU2ah8QXkCBy2myms3CV9PhWVVQwGitmU+0beql\n 0tH5xd9Cd9rAokW4UhqyEM+diPqFrqLYHW15T+1FxQZ2D3L8cq/d8gEylnbICd3F\n Wk1Mb9U86hBSLGYBKRpri3gPmhAOlslor5xuZznWUmdSa31BW1o/Xp998VHcCs+o\n 4PS5tpRdcYXHkFjCQvcx07fAXNy7P9TRJXwww18F2qRwd1NlIhorJm+Z4EZuMKm2\n 9ogm8q0YckwGXK9hR6l//KAQoSlCYPPROvio4a+66h1yn2zVmMDWA==",
        "From": "Sachin Sant <sachinp@linux.ibm.com>",
        "To": "ltp@lists.linux.it",
        "Date": "Thu, 16 Apr 2026 17:46:38 +0530",
        "Message-Id": "<20260416121638.11858-2-sachinp@linux.ibm.com>",
        "X-Mailer": "git-send-email 2.39.1",
        "In-Reply-To": "<20260416121638.11858-1-sachinp@linux.ibm.com>",
        "References": "<20260416121638.11858-1-sachinp@linux.ibm.com>",
        "MIME-Version": "1.0",
        "X-TM-AS-GCONF": "00",
        "X-Authority-Analysis": "v=2.4 cv=I/dVgtgg c=1 sm=1 tr=0 ts=69e0d32b cx=c_pps\n a=3Bg1Hr4SwmMryq2xdFQyZA==:117 a=3Bg1Hr4SwmMryq2xdFQyZA==:17\n a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22 a=RnoormkPH1_aCDwRdu11:22\n a=V8glGbnc2Ofi9Qvn3v5h:22 a=VnNF1IyMAAAA:8 a=0lvGaKBS8MktGGdRkRQA:9",
        "X-Proofpoint-GUID": "m7UVUy4LMC8LW1kHWaZemujYx6Fc4tkw",
        "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDE2MDExMiBTYWx0ZWRfXwn/Ng6uzqv/X\n 5pumypmuF7Ila0aGAmQtjIZ1Y/85ypUx7HIuSylG1XQQkPk/vteRYx5c9vArqWj+PXV2QUMm6Tj\n meKngHAL9VFHWT4u9GRuzl7dtFcJhFnFbGJXVat+GUQOZLc+SeBJbGKcykc5tcBFoIYOnYeS7lX\n 5hMCRbvuiWNQ3c8VhANDHYviHlKXjLTU11GxMyDWSNu9ZJOnfAl6hIe/xzqfmFgF/grTLyViB1S\n GevjF+3drQWmsyYCX9QOnkHrqsQN28umehhPQjQvFlXCFYP1tCBDxbBbZS9Axh1ReRnM6KAwFLI\n PfUe9gx6hely7lkdy4RVGjrQszowmID5XzKhmqRktmsUva6EHOBF+RrXrnY6kN64p0xvVB1oImx\n qFD8a+ONkjwElctJGYfE2b+0jbUIhIeP5kYxr2WcRbj68AefCd0DwkIAKlDqhrDzNXHJMc+dT51\n AzvXGxgsrHHpFxzRMQw==",
        "X-Proofpoint-ORIG-GUID": "m7UVUy4LMC8LW1kHWaZemujYx6Fc4tkw",
        "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-04-16_03,2026-04-13_04,2025-10-01_01",
        "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n malwarescore=0 bulkscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0\n suspectscore=0 impostorscore=0 phishscore=0 spamscore=0 priorityscore=1501\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604070000 definitions=main-2604160112",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DMARC_PASS,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=disabled\n version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-2.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-2.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH 2/2] io_uring: remove unused\n io_uring_init_buffer_pattern()",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "The io_uring04 test merged the functionality of\nio_uring_init_buffer_pattern() into the unified function\ninit_iovec_buffers(). Since io_uring_init_buffer_pattern()\nwas not used by any existing test, remove it.\n\nSigned-off-by: Sachin Sant <sachinp@linux.ibm.com>\n---\n .../kernel/syscalls/io_uring/io_uring_common.h      | 13 -------------\n 1 file changed, 13 deletions(-)",
    "diff": "diff --git a/testcases/kernel/syscalls/io_uring/io_uring_common.h b/testcases/kernel/syscalls/io_uring/io_uring_common.h\nindex aa31339fb..7816b55dc 100644\n--- a/testcases/kernel/syscalls/io_uring/io_uring_common.h\n+++ b/testcases/kernel/syscalls/io_uring/io_uring_common.h\n@@ -230,19 +230,6 @@ static inline void io_uring_wait_cqe(struct io_uring_submit *s,\n \t*cring->head = head + 1;\n }\n \n-/*\n- * Initialize buffer with a repeating character pattern\n- * Useful for creating test data with predictable patterns\n- */\n-static inline void io_uring_init_buffer_pattern(char *buf, size_t size,\n-\t\t\t\t\t\tchar pattern)\n-{\n-\tsize_t i;\n-\n-\tfor (i = 0; i < size; i++)\n-\t\tbuf[i] = pattern;\n-}\n-\n /*\n  * Submit and wait for a non-vectored I/O operation\n  * Combines io_uring_submit_sqe() and io_uring_wait_cqe() with result reporting\n",
    "prefixes": [
        "2/2"
    ]
}