get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2221589,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2221589/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-ide/patch/20260409210559.155864-2-philpem@philpem.me.uk/",
    "project": {
        "id": 13,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/13/?format=api",
        "name": "Linux IDE development",
        "link_name": "linux-ide",
        "list_id": "linux-ide.vger.kernel.org",
        "list_email": "linux-ide@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null
    },
    "msgid": "<20260409210559.155864-2-philpem@philpem.me.uk>",
    "date": "2026-04-09T21:05:57",
    "name": "[1/3] scsi: scsi_devinfo: add COMPAQ PD-1 multi-LUN ATAPI device quirk",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "a04055fb9fa18eba314e6bf98c52898f8e9a50bd",
    "submitter": {
        "id": 93108,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/93108/?format=api",
        "name": "Phil Pemberton",
        "email": "philpem@philpem.me.uk"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-ide/patch/20260409210559.155864-2-philpem@philpem.me.uk/mbox/",
    "series": [
        {
            "id": 499361,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/499361/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-ide/list/?series=499361",
            "date": "2026-04-09T21:05:58",
            "name": "ata: libata-scsi: add multi-LUN support for ATAPI devices",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/499361/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2221589/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2221589/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <linux-ide+bounces-5465-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-ide@vger.kernel.org"
        ],
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=philpem.me.uk header.i=@philpem.me.uk\n header.a=rsa-sha256 header.s=mail header.b=FBQ+ztlR;\n\tdkim-atps=neutral",
            "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-ide+bounces-5465-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=philpem.me.uk header.i=@philpem.me.uk\n header.b=\"FBQ+ztlR\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=178.62.38.78",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=philpem.me.uk",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=philpem.me.uk"
        ],
        "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 4fsCCX3YtMz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 10 Apr 2026 07:06:16 +1000 (AEST)",
            "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id F0A7B300E244\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  9 Apr 2026 21:06:12 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id D526836681B;\n\tThu,  9 Apr 2026 21:06:11 +0000 (UTC)",
            "from nick.sneptech.io (nick.sneptech.io [178.62.38.78])\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 409352FA0C6;\n\tThu,  9 Apr 2026 21:06:10 +0000 (UTC)",
            "from wolf.philpem.me.uk (81-187-163-148.ip4.reverse-dns.uk\n [81.187.163.148])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (2048 bits))\n\t(No client certificate requested)\n\t(Authenticated sender: mailrelay_wolf@philpem.me.uk)\n\tby nick.sneptech.io (Postfix) with ESMTPSA id C73F5BE5E4;\n\tThu,  9 Apr 2026 21:06:08 +0000 (UTC)",
            "from cheetah.homenet.philpem.me.uk (cheetah.homenet.philpem.me.uk\n [10.0.0.32])\n\tby wolf.philpem.me.uk (Postfix) with ESMTPSA id 4D9495FC3F;\n\tThu,  9 Apr 2026 22:06:08 +0100 (BST)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1775768771; cv=none;\n b=I9qMl66tLw/VPR17kC/EWUAunoXRy7/ZKbIzoyIOIEvOlXJXcvtHeU0RhpBt94VAbcIJ/DTBWC46tW2zAUWbCAsaPgm+lCCEDHlxVD1L9aKzeOGOZkRJLQ0r+rR/AAjpIJPu8dz/d7TjuTO1REXxaYYGItytLfOjj7qao6nXh0Q=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1775768771; c=relaxed/simple;\n\tbh=dMHae3B3WHNdkgQmBXXItgY26TRoUjtY/leLghC1CEM=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version;\n b=Rf9P5zYYYmWFFFkUlj5tEPLSV4n8qUzpe7rvAJKWfvIb1dPuVcZoypWX7RFLg4pqxoVbc8GAolLSSuHAoqlcqfcu5eNWjL3fypuzymap0M3hBIyTOrS9YNl8Wbr7gXS8Q24GWaQvefH4m4JrB+fcuxv64xy27bNpxEueb0YFGFo=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=reject dis=none) header.from=philpem.me.uk;\n spf=pass smtp.mailfrom=philpem.me.uk;\n dkim=pass (1024-bit key) header.d=philpem.me.uk header.i=@philpem.me.uk\n header.b=FBQ+ztlR; arc=none smtp.client-ip=178.62.38.78",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=philpem.me.uk;\n\ts=mail; t=1775768768;\n\tbh=dMHae3B3WHNdkgQmBXXItgY26TRoUjtY/leLghC1CEM=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=FBQ+ztlRg//tc1fWRO/CQDAEzRmF6n0+wv8jOlXphICUB4CGL7JyadlC46+Ptrak4\n\t 8fPSVl461R4jv8WCQngEJW8DYA/05msuFr2tzAlVcNBMbcd4YFgZbLWHXAgORw/YoQ\n\t W6shLnzAOO7M2a7sRIejIBoskPPwYLz/PrSXHNSk=",
        "From": "Phil Pemberton <philpem@philpem.me.uk>",
        "To": "dlemoal@kernel.org,\n\tcassel@kernel.org,\n\tJames.Bottomley@HansenPartnership.com,\n\tmartin.petersen@oracle.com",
        "Cc": "linux-ide@vger.kernel.org,\n\tlinux-scsi@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org,\n\tPhil Pemberton <philpem@philpem.me.uk>",
        "Subject": "[PATCH 1/3] scsi: scsi_devinfo: add COMPAQ PD-1 multi-LUN ATAPI\n device quirk",
        "Date": "Thu,  9 Apr 2026 22:05:57 +0100",
        "Message-ID": "<20260409210559.155864-2-philpem@philpem.me.uk>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260409210559.155864-1-philpem@philpem.me.uk>",
        "References": "<20260409210559.155864-1-philpem@philpem.me.uk>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-ide@vger.kernel.org",
        "List-Id": "<linux-ide.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-ide+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-ide+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit"
    },
    "content": "The Compaq-branded variant of the Panasonic/Matsushita LF-1195C PD/CD\ncombo drive is a multi-LUN ATAPI device that exposes the CD-ROM on\nLUN 0 and a PD optical drive on LUN 1.\n\nAn entry already exists for the \"MATSHITA PD-1\" variant with OEM\nfirmware.\n\nAdd the Compaq-branded variant with the same BLIST_FORCELUN |\nBLIST_SINGLELUN flags so that additional LUNs are scanned and commands\nare serialised, matching the existing entries.\n\nAssisted-by: Claude:claude-opus-4-6\nSigned-off-by: Phil Pemberton <philpem@philpem.me.uk>\n---\n drivers/scsi/scsi_devinfo.c | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c\nindex 68a992494b12..06b211b93567 100644\n--- a/drivers/scsi/scsi_devinfo.c\n+++ b/drivers/scsi/scsi_devinfo.c\n@@ -150,6 +150,7 @@ static struct {\n \t{\"COMPAQ\", \"MSA1000\", NULL, BLIST_SPARSELUN | BLIST_NOSTARTONADD},\n \t{\"COMPAQ\", \"MSA1000 VOLUME\", NULL, BLIST_SPARSELUN | BLIST_NOSTARTONADD},\n \t{\"COMPAQ\", \"HSV110\", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD},\n+\t{\"COMPAQ\", \"PD-1\", NULL, BLIST_FORCELUN | BLIST_SINGLELUN},\n \t{\"DDN\", \"SAN DataDirector\", \"*\", BLIST_SPARSELUN},\n \t{\"DEC\", \"HSG80\", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD},\n \t{\"DELL\", \"PV660F\", NULL, BLIST_SPARSELUN},\n",
    "prefixes": [
        "1/3"
    ]
}