get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2217414,
    "url": "http://patchwork.ozlabs.org/api/patches/2217414/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260328172314.45807-4-dorjoychy111@gmail.com/",
    "project": {
        "id": 12,
        "url": "http://patchwork.ozlabs.org/api/projects/12/?format=api",
        "name": "Linux CIFS Client",
        "link_name": "linux-cifs-client",
        "list_id": "linux-cifs.vger.kernel.org",
        "list_email": "linux-cifs@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260328172314.45807-4-dorjoychy111@gmail.com>",
    "list_archive_url": null,
    "date": "2026-03-28T17:22:24",
    "name": "[v6,3/4] sparc/fcntl.h: convert O_* flag macros from hex to octal",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "6ab8995db8ee92b56921cf6b96792d3b4f8b3606",
    "submitter": {
        "id": 88386,
        "url": "http://patchwork.ozlabs.org/api/people/88386/?format=api",
        "name": "Dorjoy Chowdhury",
        "email": "dorjoychy111@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-cifs-client/patch/20260328172314.45807-4-dorjoychy111@gmail.com/mbox/",
    "series": [
        {
            "id": 497884,
            "url": "http://patchwork.ozlabs.org/api/series/497884/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-cifs-client/list/?series=497884",
            "date": "2026-03-28T17:22:21",
            "name": "OPENAT2_REGULAR flag support for openat2",
            "version": 6,
            "mbox": "http://patchwork.ozlabs.org/series/497884/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2217414/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2217414/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-cifs+bounces-10565-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-cifs@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.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=20251104 header.b=fUHC39t5;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c04:e001:36c::12fc:5321; helo=tor.lore.kernel.org;\n envelope-from=linux-cifs+bounces-10565-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=\"fUHC39t5\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.216.50",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=gmail.com"
        ],
        "Received": [
            "from tor.lore.kernel.org (tor.lore.kernel.org\n [IPv6:2600:3c04:e001:36c::12fc:5321])\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 4fjktC1KG6z1y1x\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 29 Mar 2026 04:25:23 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 1EF98301C92A\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 28 Mar 2026 17:24:35 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id E0A5D3A5E63;\n\tSat, 28 Mar 2026 17:24:27 +0000 (UTC)",
            "from mail-pj1-f50.google.com (mail-pj1-f50.google.com\n [209.85.216.50])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 50DCB359714\n\tfor <linux-cifs@vger.kernel.org>; Sat, 28 Mar 2026 17:24:25 +0000 (UTC)",
            "by mail-pj1-f50.google.com with SMTP id\n 98e67ed59e1d1-35d9f68d011so27297a91.2\n        for <linux-cifs@vger.kernel.org>;\n Sat, 28 Mar 2026 10:24:25 -0700 (PDT)",
            "from toolbx ([103.103.35.11])\n        by smtp.gmail.com with ESMTPSA id\n 98e67ed59e1d1-35c22a5570esm10513773a91.3.2026.03.28.10.24.10\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Sat, 28 Mar 2026 10:24:24 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1774718667; cv=none;\n b=XzcKHbs9wN6wxPvelaw0p8mVXDUSCfoU/t7GTRIiEkBZ/BgrHh/+oAPVVm8z9zVv2i4vgbqzfvdEIkP3oyJHCNGTEGD9JzSUaxGMM6VpyWobVhyck32QhBmxGoVdafsv0z+G7YX66SeWUnhlWCjp4YilC58YGmMjEfOATNRYOgU=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1774718667; c=relaxed/simple;\n\tbh=Q9dm8LTnk+DFIEJAAB7tpFWixf8EizWYmak8EK7I1tg=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=MXXev4aSCflefnoxunrO4aiXZSQKD55QxDrMg5XxiEEzyXxNKDQdOsTu1YdCTQySZwqCSljvblSlF2Xs8Bhu+M92zx4FzU6GnSJJBctXW0flbRik/z6hFdbcFzsiJfTbavzUEawyxQn2PsSCZ/PFE/vG7n/mtzun42zAlLvjcgo=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=gmail.com;\n spf=pass smtp.mailfrom=gmail.com;\n dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com\n header.b=fUHC39t5; arc=none smtp.client-ip=209.85.216.50",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1774718665; x=1775323465;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n         :message-id:reply-to;\n        bh=Q4HfR25bhfBsIe8RbNyIL8PstGgybd8nsB9r91rb4k4=;\n        b=fUHC39t5SVFYPhzjdVkydSn6kkxLe/mQ3HnNYH/M5q3wq6Eoem2pwd7OqgnlJpwO+I\n         p/mg53wMg9CJ2i8ZMMAWJuGt9mbPfa3mspXRaSxC7dEBgKRsM5EWJW1Umw8805nuLH1x\n         kUvZWoYQ7QEleQ9S6i5L/U2m47KXH+m2Ld9THKApeMdTTV1A6THnMVIXevNDPgCzaPMv\n         rBj672km8OsufCBY/xztP1co6wDvqD15FyUDMEPp15Xz5cnxylowDbInB/mSxjDP5kiT\n         RgAHkTDt2k9W+GGrPwix3NpyxqfQaRE2k9rmYWyaNIBMT0YIRSDvd+t3q7qICRlLSVQO\n         IPSA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1774718665; x=1775323465;\n        h=content-transfer-encoding:mime-version:references:in-reply-to\n         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n         :to:cc:subject:date:message-id:reply-to;\n        bh=Q4HfR25bhfBsIe8RbNyIL8PstGgybd8nsB9r91rb4k4=;\n        b=g4aFW5A1b+E0g4OrlKijIIvPuncb4O4lt9ZGCqA3WyAPHxw+GhyEGG2zqP+TXQtfOp\n         vZEWN18ja0uZQJPltyE+avxwDWQYtdg2YRujJFtF/wM1ETbNb4t1XPh9X2GU1uvIy55B\n         WTDY+D4/nb6Nw7O0/LZ4FY6cmsfl6t5+CZKQAKvBN+fbf1kNIVlX6sCnvktuPjg2NsTG\n         yLfF2SPHtrJxIsQgPTQ3qUFwtSL/vk2eUSNjzKsMf9uUhWn0mnopzP+i2d1S7noh7DwX\n         fM3/T6R4X3pWyMIwbU0TNb0JtbbGwKurlF8/73c0gEL5X5D2hFztRCZYMceSJD+C4+ua\n         QvGg==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCXxR2PpDBuVOVks/zcP31Qmtu5iFNw4XnI1FaQLl4HvncsLykm+ME4MFPgeiSl6qhBVHmtpJVXAqLpc@vger.kernel.org",
        "X-Gm-Message-State": "AOJu0YzcwrZgACQx+BBig6DV1Gu2bmf0bC7zFbipk/pWQQyQ84K9VziM\n\t8srZ8AdzqMn33PPRFo/i1V9w92F8wRUHBb/HTeuVU6gvZKKtxt1rr6Sb",
        "X-Gm-Gg": "ATEYQzyK0PiTQnFCoGvy9FXv+F3OACuL5e/d816PFURzAPuvlLWQaWXmTans4NUpNQh\n\tsISInC+cu8kGjsqx77HWl56qOkGVI4vklSdNWQ6PeIw3my2E9LRgjBeFYuzn464+KOzi7wCSVgP\n\ttWnBCpAkTIm+OSKc4ktsICu4B85/C3tY3NNCOaHHXnmpHc6tjyVI03oUBIhL+eqmpkDchc6P0Wn\n\tOGR1cLsMHigNutIJPu0BNM7bXjbG9dZsfjUa/JXaAVfYbBynzkxqinka7o1kZtNVVzGyUQlpJMC\n\tWxaua+kqBcs60oZJpiz/TEz4iyFiXzhtfuXo5LYeRo81A/mgzqbvJBSDKtzZRgdNpCU5DK/anyX\n\t9cIrC6qVVtLBRcso1RZkN9TUanpGveM7Q6PzI2GVjEqxAeuExu0pUYPGo0Xt61yG47oLnY0OvzQ\n\t501SZw3yZaD5SXA0zPqAQtoSD23CqpxGTmohCW9jXkaQ2nrAtnlaL4kqA=",
        "X-Received": "by 2002:a17:90b:3ec6:b0:35b:9397:7073 with SMTP id\n 98e67ed59e1d1-35c30126798mr6566152a91.30.1774718664565;\n        Sat, 28 Mar 2026 10:24:24 -0700 (PDT)",
        "From": "Dorjoy Chowdhury <dorjoychy111@gmail.com>",
        "To": "linux-fsdevel@vger.kernel.org",
        "Cc": "linux-kernel@vger.kernel.org,\n\tlinux-api@vger.kernel.org,\n\tceph-devel@vger.kernel.org,\n\tgfs2@lists.linux.dev,\n\tlinux-nfs@vger.kernel.org,\n\tlinux-cifs@vger.kernel.org,\n\tv9fs@lists.linux.dev,\n\tlinux-kselftest@vger.kernel.org,\n\tviro@zeniv.linux.org.uk,\n\tbrauner@kernel.org,\n\tjack@suse.cz,\n\tjlayton@kernel.org,\n\tchuck.lever@oracle.com,\n\talex.aring@gmail.com,\n\tarnd@arndb.de,\n\tadilger@dilger.ca,\n\tmjguzik@gmail.com,\n\tsmfrench@gmail.com,\n\trichard.henderson@linaro.org,\n\tmattst88@gmail.com,\n\tlinmag7@gmail.com,\n\ttsbogend@alpha.franken.de,\n\tJames.Bottomley@HansenPartnership.com,\n\tdeller@gmx.de,\n\tdavem@davemloft.net,\n\tandreas@gaisler.com,\n\tidryomov@gmail.com,\n\tamarkuze@redhat.com,\n\tslava@dubeyko.com,\n\tagruenba@redhat.com,\n\ttrondmy@kernel.org,\n\tanna@kernel.org,\n\tsfrench@samba.org,\n\tpc@manguebit.org,\n\tronniesahlberg@gmail.com,\n\tsprasad@microsoft.com,\n\ttom@talpey.com,\n\tbharathsm@microsoft.com,\n\tshuah@kernel.org,\n\tmiklos@szeredi.hu,\n\thansg@kernel.org",
        "Subject": "[PATCH v6 3/4] sparc/fcntl.h: convert O_* flag macros from hex to\n octal",
        "Date": "Sat, 28 Mar 2026 23:22:24 +0600",
        "Message-ID": "<20260328172314.45807-4-dorjoychy111@gmail.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260328172314.45807-1-dorjoychy111@gmail.com>",
        "References": "<20260328172314.45807-1-dorjoychy111@gmail.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-cifs@vger.kernel.org",
        "List-Id": "<linux-cifs.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-cifs+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-cifs+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Following the convention in include/uapi/asm-generic/fcntl.h and other\narchitecture specific arch/*/include/uapi/asm/fcntl.h files.\n\nSigned-off-by: Dorjoy Chowdhury <dorjoychy111@gmail.com>\n---\n arch/sparc/include/uapi/asm/fcntl.h | 36 ++++++++++++++---------------\n 1 file changed, 18 insertions(+), 18 deletions(-)",
    "diff": "diff --git a/arch/sparc/include/uapi/asm/fcntl.h b/arch/sparc/include/uapi/asm/fcntl.h\nindex bb6e9fa94bc9..33ce58ec57f6 100644\n--- a/arch/sparc/include/uapi/asm/fcntl.h\n+++ b/arch/sparc/include/uapi/asm/fcntl.h\n@@ -2,23 +2,23 @@\n #ifndef _SPARC_FCNTL_H\n #define _SPARC_FCNTL_H\n \n-#define O_APPEND\t0x0008\n-#define FASYNC\t\t0x0040\t/* fcntl, for BSD compatibility */\n-#define O_CREAT\t\t0x0200\t/* not fcntl */\n-#define O_TRUNC\t\t0x0400\t/* not fcntl */\n-#define O_EXCL\t\t0x0800\t/* not fcntl */\n-#define O_DSYNC\t\t0x2000\t/* used to be O_SYNC, see below */\n-#define O_NONBLOCK\t0x4000\n+#define O_APPEND\t0000000010\n+#define FASYNC\t\t0000000100\t/* fcntl, for BSD compatibility */\n+#define O_CREAT\t\t0000001000\t/* not fcntl */\n+#define O_TRUNC\t\t0000002000\t/* not fcntl */\n+#define O_EXCL\t\t0000004000\t/* not fcntl */\n+#define O_DSYNC\t\t0000020000\t/* used to be O_SYNC, see below */\n+#define O_NONBLOCK\t0000040000\n #if defined(__sparc__) && defined(__arch64__)\n-#define O_NDELAY\t0x0004\n+#define O_NDELAY\t0000000004\n #else\n-#define O_NDELAY\t(0x0004 | O_NONBLOCK)\n+#define O_NDELAY\t(0000000004 | O_NONBLOCK)\n #endif\n-#define O_NOCTTY\t0x8000\t/* not fcntl */\n-#define O_LARGEFILE\t0x40000\n-#define O_DIRECT        0x100000 /* direct disk access hint */\n-#define O_NOATIME\t0x200000\n-#define O_CLOEXEC\t0x400000\n+#define O_NOCTTY\t0000100000\t/* not fcntl */\n+#define O_LARGEFILE\t0001000000\n+#define O_DIRECT        0004000000 /* direct disk access hint */\n+#define O_NOATIME\t0010000000\n+#define O_CLOEXEC\t0020000000\n /*\n  * Before Linux 2.6.33 only O_DSYNC semantics were implemented, but using\n  * the O_SYNC flag.  We continue to use the existing numerical value\n@@ -32,12 +32,12 @@\n  *\n  * Note: __O_SYNC must never be used directly.\n  */\n-#define __O_SYNC\t0x800000\n+#define __O_SYNC\t0040000000\n #define O_SYNC\t\t(__O_SYNC|O_DSYNC)\n \n-#define O_PATH\t\t0x1000000\n-#define __O_TMPFILE\t0x2000000\n-#define OPENAT2_REGULAR\t0x4000000\n+#define O_PATH\t\t0100000000\n+#define __O_TMPFILE\t0200000000\n+#define OPENAT2_REGULAR\t0400000000\n \n #define F_GETOWN\t5\t/*  for sockets. */\n #define F_SETOWN\t6\t/*  for sockets. */\n",
    "prefixes": [
        "v6",
        "3/4"
    ]
}