get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219082,
    "url": "http://patchwork.ozlabs.org/api/patches/2219082/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/ltp/patch/20260402121356.31266-17-chrubis@suse.cz/",
    "project": {
        "id": 59,
        "url": "http://patchwork.ozlabs.org/api/projects/59/?format=api",
        "name": "Linux Test Project development",
        "link_name": "ltp",
        "list_id": "ltp.lists.linux.it",
        "list_email": "ltp@lists.linux.it",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260402121356.31266-17-chrubis@suse.cz>",
    "list_archive_url": null,
    "date": "2026-04-02T12:13:55",
    "name": "[16/17] lib: tst_test: Remove now unused needs_drivers",
    "commit_ref": null,
    "pull_url": null,
    "state": "needs-review-ack",
    "archived": false,
    "hash": "5f502c0e8894b9a4b2886a916d172f84b429cb87",
    "submitter": {
        "id": 8530,
        "url": "http://patchwork.ozlabs.org/api/people/8530/?format=api",
        "name": "Cyril Hrubis",
        "email": "chrubis@suse.cz"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/ltp/patch/20260402121356.31266-17-chrubis@suse.cz/mbox/",
    "series": [
        {
            "id": 498474,
            "url": "http://patchwork.ozlabs.org/api/series/498474/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/ltp/list/?series=498474",
            "date": "2026-04-02T12:13:40",
            "name": "Replace needs_drivers with needs_kconfigs",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498474/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219082/comments/",
    "check": "success",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219082/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "ltp@lists.linux.it"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "ltp@picard.linux.it"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256\n header.s=susede2_rsa header.b=lAG+whiE;\n\tdkim=fail reason=\"signature verification failed\" header.d=suse.cz\n header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519\n header.b=VtlodIyR;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key)\n header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa\n header.b=lAG+whiE;\n\tdkim=neutral header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=VtlodIyR;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=213.254.12.146; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)",
            "smtp-out1.suse.de;\n dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=lAG+whiE;\n dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=VtlodIyR"
        ],
        "Received": [
            "from picard.linux.it (picard.linux.it [213.254.12.146])\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 4fmgrg0Djbz1yGH\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 23:19:15 +1100 (AEDT)",
            "from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id D97393C7A58\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Apr 2026 14:19:12 +0200 (CEST)",
            "from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::6])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id B9C843E2F46\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:14:34 +0200 (CEST)",
            "from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-6.smtp.seeweb.it (Postfix) with ESMTPS id 5DF071400965\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 14:14:34 +0200 (CEST)",
            "from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org\n [IPv6:2a07:de40:b281:104:10:150:64:97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out1.suse.de (Postfix) with ESMTPS id 7F1864D333\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:14:33 +0000 (UTC)",
            "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 67BB54A0B0\n for <ltp@lists.linux.it>; Thu,  2 Apr 2026 12:14:33 +0000 (UTC)",
            "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id N+tpGKldzmn+DgAAD6G6ig\n (envelope-from <chrubis@suse.cz>)\n for <ltp@lists.linux.it>; Thu, 02 Apr 2026 12:14:33 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132073; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Gl5QEmmcwbZzkevVcZsc+3wPu0LY6R8n6gAbM93qBC4=;\n b=lAG+whiEt6TtrBQtEDo+ZUJotJ+qfJMwW3vwrI6JTsCZdlBmFx4hAs39aA1jM0oW30lVlU\n LiqFxfJzzYtTEDQjbjeGt2Gq4z58k75H+NOPIBGQ4TTUJ1iztuYn1qWl68eJ+X6jIqRrTr\n WuTKYCsR0VpL+a9yWyH2Gg4iGzBcg28=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132073;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Gl5QEmmcwbZzkevVcZsc+3wPu0LY6R8n6gAbM93qBC4=;\n b=VtlodIyRN3FR8BORKPXjnUTDAwF0cqSQ9SA86anBmnyVRQCmfKKbT8urY3AUYy7UYrcHfV\n lGVCRLIE4PgcP2Ag==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_rsa;\n t=1775132073; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Gl5QEmmcwbZzkevVcZsc+3wPu0LY6R8n6gAbM93qBC4=;\n b=lAG+whiEt6TtrBQtEDo+ZUJotJ+qfJMwW3vwrI6JTsCZdlBmFx4hAs39aA1jM0oW30lVlU\n LiqFxfJzzYtTEDQjbjeGt2Gq4z58k75H+NOPIBGQ4TTUJ1iztuYn1qWl68eJ+X6jIqRrTr\n WuTKYCsR0VpL+a9yWyH2Gg4iGzBcg28=",
            "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz;\n s=susede2_ed25519; t=1775132073;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Gl5QEmmcwbZzkevVcZsc+3wPu0LY6R8n6gAbM93qBC4=;\n b=VtlodIyRN3FR8BORKPXjnUTDAwF0cqSQ9SA86anBmnyVRQCmfKKbT8urY3AUYy7UYrcHfV\n lGVCRLIE4PgcP2Ag=="
        ],
        "From": "Cyril Hrubis <chrubis@suse.cz>",
        "To": "ltp@lists.linux.it",
        "Date": "Thu,  2 Apr 2026 14:13:55 +0200",
        "Message-ID": "<20260402121356.31266-17-chrubis@suse.cz>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260402121356.31266-1-chrubis@suse.cz>",
        "References": "<20260402121356.31266-1-chrubis@suse.cz>",
        "MIME-Version": "1.0",
        "X-Spamd-Result": "default: False [-3.01 / 50.00]; BAYES_HAM(-3.00)[100.00%];\n MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000];\n R_MISSING_CHARSET(0.50)[];\n R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain];\n MX_GOOD(-0.01)[]; MIME_TRACE(0.00)[0:+];\n TO_MATCH_ENVRCPT_ALL(0.00)[];\n RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n FUZZY_RATELIMITED(0.00)[rspamd.com];\n DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519];\n RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_TLS_ALL(0.00)[];\n DKIM_TRACE(0.00)[suse.cz:+]; RCVD_COUNT_TWO(0.00)[2];\n FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[];\n SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from];\n TO_DN_NONE(0.00)[];\n RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received];\n PREVIOUSLY_DELIVERED(0.00)[ltp@lists.linux.it];\n RCVD_VIA_SMTP_AUTH(0.00)[];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.cz:mid, suse.cz:dkim, suse.cz:email,\n imap1.dmz-prg2.suse.org:helo, imap1.dmz-prg2.suse.org:rdns]",
        "X-Rspamd-Action": "no action",
        "X-Spam-Score": "-3.01",
        "X-Spam-Level": "",
        "X-Rspamd-Server": "rspamd1.dmz-prg2.suse.org",
        "X-Rspamd-Queue-Id": "7F1864D333",
        "X-Spam-Status": "No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS shortcircuit=no\n autolearn=disabled version=4.0.1",
        "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it",
        "X-Virus-Scanned": "clamav-milter 1.0.9 at in-6.smtp.seeweb.it",
        "X-Virus-Status": "Clean",
        "Subject": "[LTP] [PATCH 16/17] lib: tst_test: Remove now unused needs_drivers",
        "X-BeenThere": "ltp@lists.linux.it",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Linux Test Project <ltp.lists.linux.it>",
        "List-Unsubscribe": "<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>",
        "List-Archive": "<http://lists.linux.it/pipermail/ltp/>",
        "List-Post": "<mailto:ltp@lists.linux.it>",
        "List-Help": "<mailto:ltp-request@lists.linux.it?subject=help>",
        "List-Subscribe": "<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it",
        "Sender": "\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"
    },
    "content": "Signed-off-by: Cyril Hrubis <chrubis@suse.cz>\n---\n include/tst_test.h | 5 -----\n lib/tst_test.c     | 9 ---------\n 2 files changed, 14 deletions(-)",
    "diff": "diff --git a/include/tst_test.h b/include/tst_test.h\nindex ddfe9d4d6..752688c45 100644\n--- a/include/tst_test.h\n+++ b/include/tst_test.h\n@@ -498,10 +498,6 @@ struct tst_fs {\n  *                  to the test temporary directory from the LTP datafiles\n  *                  directory.\n  *\n- * @needs_drivers: A NULL terminated array of kernel modules required to run\n- *                 the test. The module has to be build in or present in order\n- *                 for the test to run.\n- *\n  * @save_restore: A {} terminated array of /proc or /sys files that should\n  *                saved at the start of the test and restored at the end. See\n  *                tst_sys_conf_save() and :ref:`struct tst_path_val` for details.\n@@ -605,7 +601,6 @@ struct tst_fs {\n \tint (*sample)(int clk_id, long long usec);\n \n \tconst char *const *resource_files;\n-\tconst char * const *needs_drivers;\n \n \tconst struct tst_path_val *save_restore;\n \ndiff --git a/lib/tst_test.c b/lib/tst_test.c\nindex 2d62ab164..26f6510a0 100644\n--- a/lib/tst_test.c\n+++ b/lib/tst_test.c\n@@ -1487,15 +1487,6 @@ static void do_setup(int argc, char *argv[])\n \t\t}\n \t}\n \n-\tif (tst_test->needs_drivers) {\n-\t\tconst char *name;\n-\t\tint i;\n-\n-\t\tfor (i = 0; (name = tst_test->needs_drivers[i]); ++i)\n-\t\t\tif (tst_check_driver(name))\n-\t\t\t\ttst_brk(TCONF, \"%s driver not available\", name);\n-\t}\n-\n \tif (tst_test->mount_device)\n \t\ttst_test->format_device = 1;\n \n",
    "prefixes": [
        "16/17"
    ]
}