get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2233331,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2233331/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260506084858.867884-2-andriy.shevchenko@linux.intel.com/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/28/?format=api",
        "name": "Linux PCI development",
        "link_name": "linux-pci",
        "list_id": "linux-pci.vger.kernel.org",
        "list_email": "linux-pci@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260506084858.867884-2-andriy.shevchenko@linux.intel.com>",
    "date": "2026-05-06T08:47:24",
    "name": "[v1,1/4] PCI: amd-mdb: Use the right GPIO header",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "24efc313a4fc2ea9fd0e1b6e0d9e6ca9e510b166",
    "submitter": {
        "id": 8583,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/8583/?format=api",
        "name": "Andy Shevchenko",
        "email": "andriy.shevchenko@linux.intel.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260506084858.867884-2-andriy.shevchenko@linux.intel.com/mbox/",
    "series": [
        {
            "id": 502939,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/502939/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=502939",
            "date": "2026-05-06T08:47:24",
            "name": "PCI: dwc: Drop or replace unused linux/gpio.h",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/502939/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2233331/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2233331/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-53836-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-pci@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=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=Zn9EY7uh;\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-pci+bounces-53836-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=\"Zn9EY7uh\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=198.175.65.21",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=linux.intel.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 4g9Tb35QpDz1yJx\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 18:49:35 +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 9185830598F0\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  6 May 2026 08:49:16 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 2481E3E63AF;\n\tWed,  6 May 2026 08:49:11 +0000 (UTC)",
            "from mgamail.intel.com (mgamail.intel.com [198.175.65.21])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id DD88D3E5EF6;\n\tWed,  6 May 2026 08:49:08 +0000 (UTC)",
            "from fmviesa002.fm.intel.com ([10.60.135.142])\n  by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 May 2026 01:49:05 -0700",
            "from black.igk.intel.com ([10.91.253.5])\n  by fmviesa002.fm.intel.com with ESMTP; 06 May 2026 01:49:01 -0700",
            "by black.igk.intel.com (Postfix, from userid 1003)\n\tid F24BD98; Wed, 06 May 2026 10:48:59 +0200 (CEST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1778057351; cv=none;\n b=DAq7YbO7fwJf7Rip/G7JUkv/j9rGasXsTyGoeXu7n97EiJRQqWpmut8Jp/g10UtDYRhG8FqA86BPb6av2cWHX/9ibINHvoFvg6yxiGKqFyxMVqIxP87K2fuywLbbHY4AEsSQJk2+KvIbVdBU4B9LDumKSytBCeV1aIFDxJcfFLk=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1778057351; c=relaxed/simple;\n\tbh=DDptMACMAhm7xTMfOgYU9QZU6xrY7e8N4931prIpECk=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=AqL+hs9brLBb7Lt0uFAg71eQQQn41ZLWyqx2vaPi+F0Z0hVgbznDn3LxVBStwuOLbL9mpctSY5vMRH5p0irY+dQ0847LX9ehsJXnHgAG8e+SnG6rpGnFRNtNe7I/yynkdIy5oKXf54l7SakwMFu4HThF5FIbfKMA3jFxG6tsViQ=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com;\n spf=pass smtp.mailfrom=linux.intel.com;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=Zn9EY7uh; arc=none smtp.client-ip=198.175.65.21",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n  d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n  t=1778057349; x=1809593349;\n  h=from:to:cc:subject:date:message-id:in-reply-to:\n   references:mime-version:content-transfer-encoding;\n  bh=DDptMACMAhm7xTMfOgYU9QZU6xrY7e8N4931prIpECk=;\n  b=Zn9EY7uhSB+oJvAbPq3isMKN1iuUBU7UrH+reScLO+dq36KvideM+NnL\n   75ANIACb5JwhWo7YuSmpFwlZCOqrxh5I6Zcgqf06nWxyNmzfwHTXLemOe\n   358UaPZyARhD3rY8ahdIfC7TT039sTkoWtM52EdciF49NG0I3EPFsbJ0k\n   6971FhvLEl0HQyi/MxPcAMb7x7YSdFHDBCpvHBJRPPVJ/WMWO0NK90Ekm\n   j6HVjrJ9cHau1OSrgkQxZumGL5ZtHYoX2hrCouZeNYdb1iUkeJ5QiJ2wd\n   RCgoXg0E42iw1mCFQ0ay3Bx/cLMTGaeoU+skLk/PkoeQlrug9xzqP+ykm\n   g==;",
        "X-CSE-ConnectionGUID": [
            "HqteM2hIR6aiLXPRwQawSQ==",
            "dRHWd1i0THy38j8bVbWNBQ=="
        ],
        "X-CSE-MsgGUID": [
            "BVWwvSqxTsWSYwki6x3TfA==",
            "3hj1c6WUSwy63w4M3JmUpw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6800,10657,11777\"; a=\"78869731\"",
            "E=Sophos;i=\"6.23,219,1770624000\";\n   d=\"scan'208\";a=\"78869731\"",
            "E=Sophos;i=\"6.23,219,1770624000\";\n   d=\"scan'208\";a=\"259510103\""
        ],
        "X-ExtLoop1": "1",
        "From": "Andy Shevchenko <andriy.shevchenko@linux.intel.com>",
        "To": "Sai Krishna Musham <sai.krishna.musham@amd.com>,\n\tNiklas Cassel <cassel@kernel.org>,\n\tKoichiro Den <den@valinux.co.jp>,\n\tAndy Shevchenko <andriy.shevchenko@linux.intel.com>,\n\tManivannan Sadhasivam <mani@kernel.org>,\n\tHans Zhang <18255117159@163.com>,\n\tlinux-pci@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org",
        "Cc": "Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy?=\n\t=?utf-8?q?=C5=84ski?= <kwilczynski@kernel.org>,\n Rob Herring <robh@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>,\n Jingoo Han <jingoohan1@gmail.com>, Paul Walmsley <pjw@kernel.org>,\n Greentime Hu <greentime.hu@sifive.com>,\n Samuel Holland <samuel.holland@sifive.com>,\n Nobuhiro Iwamatsu <nobuhiro.iwamatsu.x90@mail.toshiba>",
        "Subject": "[PATCH v1 1/4] PCI: amd-mdb: Use the right GPIO header",
        "Date": "Wed,  6 May 2026 10:47:24 +0200",
        "Message-ID": "<20260506084858.867884-2-andriy.shevchenko@linux.intel.com>",
        "X-Mailer": "git-send-email 2.50.1",
        "In-Reply-To": "<20260506084858.867884-1-andriy.shevchenko@linux.intel.com>",
        "References": "<20260506084858.867884-1-andriy.shevchenko@linux.intel.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-pci@vger.kernel.org",
        "List-Id": "<linux-pci.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "The driver includes the legacy GPIO header <linux/gpio.h> but does not\nuse any symbols from it and actually wants <linux/gpio/consumer.h>,\nso fix this up.\n\nSigned-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>\n---\n drivers/pci/controller/dwc/pcie-amd-mdb.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/pci/controller/dwc/pcie-amd-mdb.c b/drivers/pci/controller/dwc/pcie-amd-mdb.c\nindex 7e50e11fbffd..88208e967201 100644\n--- a/drivers/pci/controller/dwc/pcie-amd-mdb.c\n+++ b/drivers/pci/controller/dwc/pcie-amd-mdb.c\n@@ -7,7 +7,7 @@\n \n #include <linux/clk.h>\n #include <linux/delay.h>\n-#include <linux/gpio.h>\n+#include <linux/gpio/consumer.h>\n #include <linux/interrupt.h>\n #include <linux/irqdomain.h>\n #include <linux/kernel.h>\n",
    "prefixes": [
        "v1",
        "1/4"
    ]
}