get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219394,
    "url": "http://patchwork.ozlabs.org/api/1.0/patches/2219394/?format=api",
    "project": {
        "id": 28,
        "url": "http://patchwork.ozlabs.org/api/1.0/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": "<cf519463-775a-4d43-be38-20742fdad407@gmail.com>",
    "date": "2026-04-02T22:17:35",
    "name": "[1/2] input: pc110pad: change PCI check to get rid of orphaned no_pci_devices",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "95c8bcdb6bfc84c48ddcaf66848b146afb32a21e",
    "submitter": {
        "id": 65365,
        "url": "http://patchwork.ozlabs.org/api/1.0/people/65365/?format=api",
        "name": "Heiner Kallweit",
        "email": "hkallweit1@gmail.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/cf519463-775a-4d43-be38-20742fdad407@gmail.com/mbox/",
    "series": [
        {
            "id": 498556,
            "url": "http://patchwork.ozlabs.org/api/1.0/series/498556/?format=api",
            "date": "2026-04-02T22:15:34",
            "name": "PCI: Remove no_pci_devices",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498556/mbox/"
        }
    ],
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219394/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-pci+bounces-51787-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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=jDE2h4op;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=172.232.135.74; helo=sto.lore.kernel.org;\n envelope-from=linux-pci+bounces-51787-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=\"jDE2h4op\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=209.85.128.52",
            "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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])\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 4fmx7G2g50z1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 03 Apr 2026 09:17:46 +1100 (AEDT)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id E53FC30222D1\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Apr 2026 22:17:42 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 298123750A7;\n\tThu,  2 Apr 2026 22:17:40 +0000 (UTC)",
            "from mail-wm1-f52.google.com (mail-wm1-f52.google.com\n [209.85.128.52])\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 B9E7B34B437\n\tfor <linux-pci@vger.kernel.org>; Thu,  2 Apr 2026 22:17:38 +0000 (UTC)",
            "by mail-wm1-f52.google.com with SMTP id\n 5b1f17b1804b1-4887f49ec5aso18657795e9.1\n        for <linux-pci@vger.kernel.org>; Thu, 02 Apr 2026 15:17:38 -0700 (PDT)",
            "from ?IPV6:2003:ea:8f19:9500:c168:ad27:2fdd:9334?\n (p200300ea8f199500c168ad272fdd9334.dip0.t-ipconnect.de.\n [2003:ea:8f19:9500:c168:ad27:2fdd:9334])\n        by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-4887e80a616sm363895755e9.2.2026.04.02.15.17.36\n        (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);\n        Thu, 02 Apr 2026 15:17:36 -0700 (PDT)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775168260; cv=none;\n b=cdjsBNzWF77qahujsWA/k8h1qnUNcBYXumMisWc1oD29KyzfgzhHeM5LtramMfKdUdLP8Ic2HrlQjw2uYWbs74lnEK1sC5bsXMcXzWJW33PkWaaRWfUch42zYI1gZk01soP1YCrZJqSZifFHqWhlezyujTcE4mxT+c5WO/L43Zs=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775168260; c=relaxed/simple;\n\tbh=Gh/vEJU0EGlJkxcWfGReC2v+Rr4CHg9KxV1K21dLdvI=;\n\th=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References:\n\t In-Reply-To:Content-Type;\n b=gCX2N4x2wYz4Qo6KDz7VBwr2KcKi3U78UupQMn3KytDI0nQbi7/PuZGoUz2nltRisy0X/IbI1jVVXdD3z45LQINcOUNlwZbW5i1iFiTYWnGEBJnjVdwjsTUrnnlL8rLyGqo2ZfxkC3TDdRii6g0BfViKtMyoCcX6xeoMOmXAOA0=",
        "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=jDE2h4op; arc=none smtp.client-ip=209.85.128.52",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=gmail.com; s=20251104; t=1775168257; x=1775773057;\n darn=vger.kernel.org;\n        h=content-transfer-encoding:in-reply-to:content-language:references\n         :cc:to:from:subject:user-agent:mime-version:date:message-id:from:to\n         :cc:subject:date:message-id:reply-to;\n        bh=ZvfE5Xh6joR2Ps2HxBC4h/f1h6TIhRJYVGLkpiemiQI=;\n        b=jDE2h4opXDIq+xmxiTtl5AORWOMoBfNl06v185XXs0hEwWe1ouaYC8Jk0/XECSesha\n         d6waRQlDlQndm3OUDRNoiPYRMWnDKrR0XvNzuI1WpA7OHky/uFQak25TNYvLrcvOKvHp\n         WHzNnKoKV7C+Fahr05KrpDX251hDzZccmaenkqa5En8h6uV5eSH7a3h/HjnEjpVOOQ4L\n         j9he9aHsXq0H/YJPOkHcxgSgwKtiCU61uRtajkAoVrmOwT2Uv+Hhu0nGtKlTKa5lNogG\n         4uiOKPeLD2ZrNtv/QEEGj7F7X9WJW+Zt43ri/rejxOqJnULGnaHRLzP7sFiF7GdmzGKu\n         vsfg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n        d=1e100.net; s=20251104; t=1775168257; x=1775773057;\n        h=content-transfer-encoding:in-reply-to:content-language:references\n         :cc:to:from:subject:user-agent:mime-version:date:message-id:x-gm-gg\n         :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n        bh=ZvfE5Xh6joR2Ps2HxBC4h/f1h6TIhRJYVGLkpiemiQI=;\n        b=HdmLwC27QTyD8mu2tply5+D3HihA2/IOBb7Ije0QJ6pTOAkYh3aix3WAqEVbHBDbX/\n         0Zc1yioMfLCmSD5o/gnpFKG9v7yeVAiBJngJvp8rowqPwQKzzMFXGCKLsYUNOFF0R2Ca\n         Z1QQrLeX0qfWMW9lsrGWMa1UyFrwg0LXCja5MjPLIOVJlnWuv8/Fp8yOzCz4xA92EGBi\n         Y/rVnJkl0QjR9OijHLCVOqD7maO4KpmOHL52eD99vkNUTpUYo4IvIDsMipHIuqs/LiQr\n         zomUMJ97IGRwtIoxfEEeCJo/PoRSZTCQ/U0oIsHeI1fpm8PuYTcflrrRuWOElGnj1XRK\n         bk8Q==",
        "X-Forwarded-Encrypted": "i=1;\n AJvYcCWTTTPGMtqeanhEryPwj4g/EzDn3iQ8RUkqB2UX/6eB5pHqAYDfaAJwTTD/kTTKiaz2eYoQUUcbw1k=@vger.kernel.org",
        "X-Gm-Message-State": "AOJu0YyzY+BO3OTJXgXES88WOHZiX00ulfPVq3DsPKWEoch5O8WHAeA5\n\tPGps95XcgCGi4Yvwxx/Czy7dBppJlIvJecrAYGL1rmq8W83H0+7XUuTCFuIYig==",
        "X-Gm-Gg": "ATEYQzyRc4SAgUm/kR5GjebbiulhJp7A5BjgA/IL7684h0FwDvGPadfogtnJ6Xoa6uf\n\tn3jNZEYcrUAcJdEN4p5IKAFmqbcZLR/Brdlo1cxNcXuIEbg9R2m31D26Lker9k3iXoICuo5o2OH\n\tdCXwuRdxM/X5kqnaqaCmuhtKUUHo1+BEygpOivWu35tO8X4SSM+0DXTK8bAd4KbRpBZ4A8WTdr0\n\tw9ASwsaEKrB04Fu/276iy7C4MYfYwb+OdK29+gznmHsa6CLIEB1zbv7147v/7t7ZaQpsd3xx9Q7\n\tAunPqqUIbQFQjD9a5R5lSkUHXf9VhTasW9m0zXzSRbSmBSVamqlqb4389f4XlwPZOfn/Vhh/5Fj\n\t2DaGL25C7HS+c9gca6bn64ArNc/3oMIK1i5/6VsXq3+vkioc0T8akL+jRzDAJJqkib/6atURfKz\n\tX28wiDlSFdfZV+NzvyKZxZ4Pf3GTt3v665k6Hy9O0hgPuwdvjaRMCGIGsCqvDwfWXH12OYNRV/J\n\tgcUVIOPP8bt7pzlLcTTe86iyY8nxUMpvUiPNgl6EfqYkto87eF9n02W0OvMn5iIhA==",
        "X-Received": "by 2002:a05:600c:4743:b0:487:36c:f5ab with SMTP id\n 5b1f17b1804b1-488996ff833mr10662365e9.10.1775168257032;\n        Thu, 02 Apr 2026 15:17:37 -0700 (PDT)",
        "Message-ID": "<cf519463-775a-4d43-be38-20742fdad407@gmail.com>",
        "Date": "Fri, 3 Apr 2026 00:17:35 +0200",
        "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",
        "User-Agent": "Mozilla Thunderbird",
        "Subject": "[PATCH 1/2] input: pc110pad: change PCI check to get rid of orphaned\n no_pci_devices",
        "From": "Heiner Kallweit <hkallweit1@gmail.com>",
        "To": "Dmitry Torokhov <dmitry.torokhov@gmail.com>,\n Bjorn Helgaas <bhelgaas@google.com>",
        "Cc": "\"open list:HID CORE LAYER\" <linux-input@vger.kernel.org>,\n \"linux-pci@vger.kernel.org\" <linux-pci@vger.kernel.org>",
        "References": "<dd9ea7c1-44f5-4364-a3d5-885b1c99159f@gmail.com>",
        "Content-Language": "en-US",
        "In-Reply-To": "<dd9ea7c1-44f5-4364-a3d5-885b1c99159f@gmail.com>",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "7bit"
    },
    "content": "As a prerequisite for removing no_pci_devices(), replace its usage here\nwith an equivalent check for presence of a PCI bus.\n\nSigned-off-by: Heiner Kallweit <hkallweit1@gmail.com>\n---\n drivers/input/mouse/pc110pad.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/input/mouse/pc110pad.c b/drivers/input/mouse/pc110pad.c\nindex efa58049f..c7a6df210 100644\n--- a/drivers/input/mouse/pc110pad.c\n+++ b/drivers/input/mouse/pc110pad.c\n@@ -91,7 +91,7 @@ static int __init pc110pad_init(void)\n {\n \tint err;\n \n-\tif (!no_pci_devices())\n+\tif (pci_find_next_bus(NULL))\n \t\treturn -ENODEV;\n \n \tif (!request_region(pc110pad_io, 4, \"pc110pad\")) {\n",
    "prefixes": [
        "1/2"
    ]
}