get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2218615,
    "url": "http://patchwork.ozlabs.org/api/patches/2218615/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260401143347.8463-1-john.madieu.xa@bp.renesas.com/",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/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,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260401143347.8463-1-john.madieu.xa@bp.renesas.com>",
    "list_archive_url": null,
    "date": "2026-04-01T14:33:47",
    "name": "PCI: rzg3s-host: Treat link-down as -ENODEV instead of error",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "593c98efe751d8fea4e6289e317ec729b0f9046f",
    "submitter": {
        "id": 89876,
        "url": "http://patchwork.ozlabs.org/api/people/89876/?format=api",
        "name": "John Madieu",
        "email": "john.madieu.xa@bp.renesas.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260401143347.8463-1-john.madieu.xa@bp.renesas.com/mbox/",
    "series": [
        {
            "id": 498347,
            "url": "http://patchwork.ozlabs.org/api/series/498347/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=498347",
            "date": "2026-04-01T14:33:47",
            "name": "PCI: rzg3s-host: Treat link-down as -ENODEV instead of error",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498347/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218615/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218615/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-51682-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 spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-pci+bounces-51682-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=210.160.252.172",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=bp.renesas.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=bp.renesas.com"
        ],
        "Received": [
            "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::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 4fm78T4Jnbz1yCp\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 01:46:01 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 4D93D3019073\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  1 Apr 2026 14:34:15 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 88CC82D9ECD;\n\tWed,  1 Apr 2026 14:34:14 +0000 (UTC)",
            "from relmlie6.idc.renesas.com (relmlor2.renesas.com\n [210.160.252.172])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id ED147274B43;\n\tWed,  1 Apr 2026 14:34:12 +0000 (UTC)",
            "from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151])\n  by relmlie6.idc.renesas.com with ESMTP; 01 Apr 2026 23:34:05 +0900",
            "from ubuntu.adwin.renesas.com (unknown [10.226.93.25])\n\tby relmlir5.idc.renesas.com (Postfix) with ESMTP id C9F4C400FCDF;\n\tWed,  1 Apr 2026 23:34:02 +0900 (JST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775054054; cv=none;\n b=KeFrckcHTVLDKrQK5YTm4AqFSSMdzGCZB3UiBahlqaTt/gqVV7fbpdgeGsv44AQxdPuiSaz50bRKgJhz/ss9z54MzLpJ3UvdHCxS/GXQ5K+ja7ZG3DeqDt5ujrWYBHxI6at10hRcYZ6bbl3RRpWCpimw8R2FcNywRbTA+l0asu4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775054054; c=relaxed/simple;\n\tbh=sWOORqm4zZMJjRATz6N4YPGXWzTJrPr0OC8wyxwYLAM=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=uUNTEIO5UGQ1u0a75YpHuyU4mAqUMEZotInjEUW3c8GnPFoQ/gPyIlYwbO3CREX+sonsfSg55JLKp4bLtvkj+O94OZ9qUxhXuFX9ltuS2K3eqm5biypr2vKFJ3wuvs4pbsWKg+j7IH9KMXM9Zsus2RTC9n5xqKro4o83wygaf5A=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=bp.renesas.com;\n spf=pass smtp.mailfrom=bp.renesas.com;\n arc=none smtp.client-ip=210.160.252.172",
        "X-CSE-ConnectionGUID": "BQmi9ERdSTygLBIFM2V5kA==",
        "X-CSE-MsgGUID": "/x7OaB2IT3aL7SXiNAM9ig==",
        "From": "John Madieu <john.madieu.xa@bp.renesas.com>",
        "To": "claudiu.beznea.uj@bp.renesas.com,\n\tlpieralisi@kernel.org,\n\tkwilczynski@kernel.org,\n\tmani@kernel.org",
        "Cc": "robh@kernel.org,\n\tjohn.madieu@gmail.org,\n\tbhelgaas@google.com,\n\tlinux-pci@vger.kernel.org,\n\tlinux-renesas-soc@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tJohn Madieu <john.madieu.xa@bp.renesas.com>",
        "Subject": "[PATCH] PCI: rzg3s-host: Treat link-down as -ENODEV instead of error",
        "Date": "Wed,  1 Apr 2026 16:33:47 +0200",
        "Message-ID": "<20260401143347.8463-1-john.madieu.xa@bp.renesas.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "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": "rzg3s_pcie_host_init() failing to establish a PCIe link does not\nnecessarily indicate a hardware or driver error; it may simply mean no\ncard is inserted. Demote the message from dev_err_probe() to dev_info()\nand return -ENODEV so the driver defers gracefully rather than printing\na spurious error.\n\nSigned-off-by: John Madieu <john.madieu.xa@bp.renesas.com>\n---\n drivers/pci/controller/pcie-rzg3s-host.c | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/pci/controller/pcie-rzg3s-host.c b/drivers/pci/controller/pcie-rzg3s-host.c\nindex bfc210e696ed..03be10aa5b54 100644\n--- a/drivers/pci/controller/pcie-rzg3s-host.c\n+++ b/drivers/pci/controller/pcie-rzg3s-host.c\n@@ -1653,9 +1653,10 @@ rzg3s_pcie_host_setup(struct rzg3s_pcie_host *host,\n \tif (ret)\n \t\treturn dev_err_probe(dev, ret, \"Failed to init IRQ domain\\n\");\n \n-\tret = rzg3s_pcie_host_init(host);\n-\tif (ret) {\n-\t\tdev_err_probe(dev, ret, \"Failed to initialize the HW!\\n\");\n+\t/* Failure to get a link might just be that no cards are inserted */\n+\tif (rzg3s_pcie_host_init(host)) {\n+\t\tdev_info(dev, \"PCIe link down!\\n\");\n+\t\tret = -ENODEV;\n \t\tgoto teardown_irqdomain;\n \t}\n \n",
    "prefixes": []
}