get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2234847,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2234847/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260508061729.9530-7-mscardovi95@gmail.com/",
    "project": {
        "id": 42,
        "url": "http://patchwork.ozlabs.org/api/1.2/projects/42/?format=api",
        "name": "Linux GPIO development",
        "link_name": "linux-gpio",
        "list_id": "linux-gpio.vger.kernel.org",
        "list_email": "linux-gpio@vger.kernel.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260508061729.9530-7-mscardovi95@gmail.com>",
    "list_archive_url": null,
    "date": "2026-05-08T06:17:29",
    "name": "[v4,6/6] gpio: acpi: sort header inclusion alphabetically",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "70d85c2116ad56302126300972f7b5d65ad80f34",
    "submitter": {
        "id": 93312,
        "url": "http://patchwork.ozlabs.org/api/1.2/people/93312/?format=api",
        "name": "Marco Scardovi",
        "email": "mscardovi95@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-gpio/patch/20260508061729.9530-7-mscardovi95@gmail.com/mbox/",
    "series": [
        {
            "id": 503330,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/503330/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-gpio/list/?series=503330",
            "date": "2026-05-08T06:17:27",
            "name": "gpio: acpi: modernize resource management using cleanup.h",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/503330/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2234847/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2234847/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-gpio+bounces-36434-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-gpio@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=Nt0yV9oF;\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-gpio+bounces-36434-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=\"Nt0yV9oF\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.128.54",
            "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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBfBQ17dnz1yJq\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 08 May 2026 16:20:46 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby tor.lore.kernel.org (Postfix) with ESMTP id 7C49B306FA23\n\tfor <incoming@patchwork.ozlabs.org>; Fri,  8 May 2026 06:18:26 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 098F43783B1;\n\tFri,  8 May 2026 06:18:11 +0000 (UTC)",
            "from mail-wm1-f54.google.com (mail-wm1-f54.google.com\n [209.85.128.54])\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 CD330376463\n\tfor <linux-gpio@vger.kernel.org>; Fri,  8 May 2026 06:18:00 +0000 (UTC)",
            "by mail-wm1-f54.google.com with SMTP id\n 5b1f17b1804b1-488ba840146so14197965e9.1\n        for <linux-gpio@vger.kernel.org>;\n Thu, 07 May 2026 23:18:00 -0700 (PDT)",
            "from ROG ([2a01:e11:202b:40:68b1:8d59:e348:c16e])\n        by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48e68f5d48fsm11251175e9.14.2026.05.07.23.17.56\n        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n        Thu, 07 May 2026 23:17:56 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778221088; cv=none;\n b=EOZnpgh6aTstvd8U4p77VJw1uV/E1E0cOGqwl75KLRkjCiFSITXyL8GeVog33MrGt8fo9ZOQIzo+xmEexPBHesvViAEHIZdoCjNlerUO3Mqm3jHRxI8xwI5AWojvA9OKxvRCn81XaCMXchHjRhNVWBSx1bUysTtAEQ6VjR9oec0=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778221088; c=relaxed/simple;\n\tbh=/DEFkIW9I9NwWWfUVQdS9qd8W0IKdC3W81KyiTB7ETg=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=nPuUqvhIUu/dYpP6E8fxbPlvhCqzxc4DgGKXuJARtTz8b0i0wIVFQTi3X5zI7k0VYJNe133JEg2RYqPgYmqIhbzI05o6L76fHSzmfMLKUktRUCL7CDU3Npg0BLnkEVmpDTcx1B3idLYDiKHPYZobaYhEkYjAbXy1lpaP66jySjo=",
        "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=Nt0yV9oF; arc=none smtp.client-ip=209.85.128.54",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1778221077; x=1778825877;\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=OIgsaz/80F7YVh1co0erXVe0CBs1zSzj8RjSOOEqAps=;\n        b=Nt0yV9oFYvcQdlpIVcBPIz+S5V2AVdvo7OlCMwpxJqakzKRFYEx0wGQl5QhioNGAee\n         uYQf4GifnjFC2J7xiOFL03dCy0Lm8dVkAwOQiyWQ8nu2SZNyrCMTzzUsnuRGggxF8r8O\n         y+c/u+50RjxwwLVHGKBW3899cvNsVoqWyKBImuwtGR/Iy77UFR2zMhLoez48TxBDRJd8\n         J9r97uEyipw/MCfrC+7cMGkRUamWEM/29FZmoH613I04NEM4UyB+PuJZRfTTv8pj0/2b\n         jTDEfED9Nk0hKmUJou2UnRHuobn96Myawnw11v8UvxtxZ6SuTdh896hzx4VjE8XfuvTU\n         hZZA==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1778221077; x=1778825877;\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=OIgsaz/80F7YVh1co0erXVe0CBs1zSzj8RjSOOEqAps=;\n        b=B93fNqJpDRS3tEviSbaG4MP4hfag1krvblrYfrsDP6iYGCjNLkQz/p9g8Xp0F9netH\n         QrHsw98ckN3T6wYqNTKBzszVzvMRTRhpaqhq/5fc+bkQtj2JVjoJ60nLCFchp1fusZR4\n         dZq3NvwVxwBUGGg0CrGZDdemd6Eipn4Wq8nqatHCFgiRDgcjyDl9upTnJsy0CD4ElQsG\n         DiBdt/KVQrodOkjwzPWf5TgDEtRRf+t/GT82fPD/X2KLLix0TBC3D6UuVeyfirIIqxR1\n         2IwREaEZzKrPPQ/rEaM1jQx7rIiWCjMH/QEbhvjI4dkeTxxppPr6+4B27+RJJ0mgiy8/\n         h9hQ==",
        "X-Forwarded-Encrypted": "i=1;\n AFNElJ9kWKHNE2OP4wbnEtA9WbyhjNvYs2nW0DwSu0/RZ/Ko+AyXInQ/kN1e1RbvdvahMDkcCN8BPsENnsJ2@vger.kernel.org",
        "X-Gm-Message-State": "AOJu0YwE+xTz8AL8RdWhsDAmxOAN/wzzvbG/sLxdGfOoUvjLNbTh6YFC\n\tbp2koGMpJqemqL04Mi6FNcPPFwy+um1EQJVDfXo8jym+yrjJLozoYzYY",
        "X-Gm-Gg": "AeBDievrgW0HyWPpD8NNRHUVQUnT6ejqFWM0v065+OtqkzpKXTAtpjZp3eBjosgckf7\n\tbTJZWywKoiZj0n9NxtsFUOJyLbgJ+pOr31Scm7ytRyakRIsWNBzSbKzgZ7kpIS1URDIvVgf9VfI\n\tLzSyMgqAzeTr9yPdeoh09MqNDnof3DkEHl2oEyNmT7qn+PWgd/viErhg6mGw07IN9BLry7e/Jo4\n\tglxrzXrmjr1MdnAYWxLKHZhs4uEFjgGttjA39YKg7E57dbSeVBdgVG/7kyz/dlbzXdRlQaD5/wS\n\tl+F5tTa0AgVY5oJMUimOVPVLOhH7mVvXv574yyz5QKodQnUvFzdpHVIk4cOWpXc0GR2j0dwCxqi\n\tO6C2mdGqBEIgArQ7SUBYY4ItyI8+0L4GT1+k3L/tQq0nllPPCodqFHMrSfZZIaq+x35/ai1CKXB\n\tecjbiiwc0ttErax4s=",
        "X-Received": "by 2002:a05:600c:a111:b0:488:79a3:f04c with SMTP id\n 5b1f17b1804b1-48e51f46d1bmr129939265e9.27.1778221077168;\n        Thu, 07 May 2026 23:17:57 -0700 (PDT)",
        "From": "Marco Scardovi <mscardovi95@gmail.com>",
        "To": "andriy.shevchenko@intel.com",
        "Cc": "linux-acpi@vger.kernel.org,\n\tlinux-gpio@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tmathias.nyman@intel.com,\n\tmika.westerberg@intel.com,\n\tMarco Scardovi <mscardovi95@gmail.com>",
        "Subject": "[PATCH v4 6/6] gpio: acpi: sort header inclusion alphabetically",
        "Date": "Fri,  8 May 2026 08:17:29 +0200",
        "Message-ID": "<20260508061729.9530-7-mscardovi95@gmail.com>",
        "X-Mailer": "git-send-email 2.54.0",
        "In-Reply-To": "<20260508061729.9530-1-mscardovi95@gmail.com>",
        "References": "<afzlsRkyKQzuUcgL@ashevche-desk.local>\n <20260508061729.9530-1-mscardovi95@gmail.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-gpio@vger.kernel.org",
        "List-Id": "<linux-gpio.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-gpio+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-gpio+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "Reorder the #include directives in gpiolib-acpi-core.c to follow\nalphabetical order. This improves code readability and ensures\nconsistency with kernel coding style for header management.\n\nSigned-off-by: Marco Scardovi <mscardovi95@gmail.com>\n---\n drivers/gpio/gpiolib-acpi-core.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/gpio/gpiolib-acpi-core.c b/drivers/gpio/gpiolib-acpi-core.c\nindex c9b12e24de14..7b324dd4ae67 100644\n--- a/drivers/gpio/gpiolib-acpi-core.c\n+++ b/drivers/gpio/gpiolib-acpi-core.c\n@@ -8,12 +8,14 @@\n  */\n \n #include <linux/acpi.h>\n+#include <linux/cleanup.h>\n #include <linux/dmi.h>\n #include <linux/errno.h>\n #include <linux/export.h>\n #include <linux/interrupt.h>\n #include <linux/irq.h>\n #include <linux/mutex.h>\n+#include <linux/slab.h>\n #include <linux/pinctrl/pinctrl.h>\n \n #include <linux/gpio/consumer.h>\n",
    "prefixes": [
        "v4",
        "6/6"
    ]
}