get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2144559,
    "url": "http://patchwork.ozlabs.org/api/patches/2144559/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20251001203050.2828452-1-trini@konsulko.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20251001203050.2828452-1-trini@konsulko.com>",
    "list_archive_url": null,
    "date": "2025-10-01T20:30:50",
    "name": "uthreads: Make use of CONFIG_IS_ENABLED consistently",
    "commit_ref": "efe1d6303f243cf3588dd1974fbfdef0d7a02c42",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "e305f101959528e99004b0fbb8643b32405a1189",
    "submitter": {
        "id": 65875,
        "url": "http://patchwork.ozlabs.org/api/people/65875/?format=api",
        "name": "Tom Rini",
        "email": "trini@konsulko.com"
    },
    "delegate": {
        "id": 157425,
        "url": "http://patchwork.ozlabs.org/api/users/157425/?format=api",
        "username": "jforissier",
        "first_name": "Jerome",
        "last_name": "Forissier",
        "email": "jerome.forissier@linaro.org"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20251001203050.2828452-1-trini@konsulko.com/mbox/",
    "series": [
        {
            "id": 475954,
            "url": "http://patchwork.ozlabs.org/api/series/475954/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=475954",
            "date": "2025-10-01T20:30:50",
            "name": "uthreads: Make use of CONFIG_IS_ENABLED consistently",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/475954/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2144559/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2144559/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256\n header.s=google header.b=ZirAU3DZ;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=konsulko.com header.i=@konsulko.com\n header.b=\"ZirAU3DZ\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=konsulko.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=trini@konsulko.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4ccRS45sL1z1xv0\n\tfor <incoming@patchwork.ozlabs.org>; Thu,  2 Oct 2025 06:32:20 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id A92068352B;\n\tWed,  1 Oct 2025 22:30:56 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id 7F8B5836B8; Wed,  1 Oct 2025 22:30:55 +0200 (CEST)",
            "from mail-ot1-x32a.google.com (mail-ot1-x32a.google.com\n [IPv6:2607:f8b0:4864:20::32a])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 62DFC836AC\n for <u-boot@lists.denx.de>; Wed,  1 Oct 2025 22:30:53 +0200 (CEST)",
            "by mail-ot1-x32a.google.com with SMTP id\n 46e09a7af769-7bc147fd11bso167056a34.3\n for <u-boot@lists.denx.de>; Wed, 01 Oct 2025 13:30:53 -0700 (PDT)",
            "from bill-the-cat.. (fixed-189-203-97-42.totalplay.net.\n [189.203.97.42]) by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7bf43028c25sm115507a34.19.2025.10.01.13.30.51\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 01 Oct 2025 13:30:51 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=konsulko.com; s=google; t=1759350652; x=1759955452; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:from:to:cc:subject:date:message-id:reply-to;\n bh=EHEoLUf80+8DLp+9bkIRAL198mWiVX9d1lQLsz5q6qw=;\n b=ZirAU3DZ9MnrLYPzSzQdnczNvQiu6AQS/HZeJo9JW571Cb+rNk8Km3xcqojkEsep8a\n MT7aLL9S7ecp6sXyxQ7FIk0jcsLh1B1ULkC8IgzNAif7YgzSVORER4lhVEKTJcT1npmX\n ckLpI9rcl0qE5IZDDGjl2qmGUkWHDSX9+LM2I=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1759350652; x=1759955452;\n h=content-transfer-encoding:mime-version:message-id:date:subject:cc\n :to:from:x-gm-message-state:from:to:cc:subject:date:message-id\n :reply-to;\n bh=EHEoLUf80+8DLp+9bkIRAL198mWiVX9d1lQLsz5q6qw=;\n b=MBPK77HeDlRs3G0ouyOtoSLUg36w0LT4Hnf6SR8TFwpbuen910L/RrcMqT6vGAlBOE\n mLo8twSEBbJdrW7nVxZZwIi3MIAwlyHGW3uzwZtozeb9E6Vnma+1qo7qW+TbVlP3mDU9\n HXkZjowPp7BbiEkQLMs2vT7awb/YpMNVAJ6yDGkj/udJdeTnpjl/JWz94lqfXXGGbtbA\n ybnQpeMbs5muTsDMiXcnQIQA1YkrFDUWOOXYO2OtxWu8kR85AW6cVtYjWy0lYkGmjPzq\n WSbOlC+z+4pBJZWNDnrozMyuq4o8FTD+KLRRm4aBJM5OQe2UgUYAhDTO+hHc/FM9FNq4\n SAXA==",
        "X-Gm-Message-State": "AOJu0Yz8ny659sc18DeMvNgYXeflaarRlBKnMIOt7GU6BsUSFahci0rp\n LCyNqmWty/kAZSTLSLHBDHp7P2WqMloC8ZTrqB+dbrIWVwQHfczmaY5ETdBPFJjdANmPPV/ztrh\n Wj4Dqzcg=",
        "X-Gm-Gg": "ASbGncupuC3vIraVLfBtoLqIzFgUSmqp0JPARlMlaVyNyUDevU9cOj1ReljFeeiu57m\n lwN1E+bDo0btcwqYSj0U6GV0/CGGQ15xZasMQklfc2TAUrE9LyiHtwjwrJPlifiwUpADb+lGOEW\n 6orPiyFrXr5dCIWiZyCJuxECbcG8b/SE7r7m8PpWcmgkdBZ1soeUPemvKfWOB86EeGZEpRjApWB\n uApbSfBPBvFbMIJuovJZuD580takIZmCtpkovVU+GqBnLFy2EJlk7nUxBlSEeFyTIfFBBwV5eF2\n sm/bmrBkqmNdlcqskhGc509jk3J2mv5o6g+RFsDVlr83WcOnmp0oGu1jBmvlDsUoGbqJMzVTdwN\n Sh1pu44AEYALkdjr70XYKiBfIoUBXIO4tHt8U7Q+yJx4uZihCv/0eOsspwOEzII4r+zw/VOzEfS\n lxBKEXQ+c=",
        "X-Google-Smtp-Source": "\n AGHT+IEBiA2gEuKno1NCa+BjPKaoZC25X2RWA+VEzN8oPvvsEhmWEcB/Lg2Sr4oOGTwxKZN6DmUyfQ==",
        "X-Received": "by 2002:a05:6830:631a:b0:7af:353b:95f0 with SMTP id\n 46e09a7af769-7bddb6029c0mr3029956a34.26.1759350652162;\n Wed, 01 Oct 2025 13:30:52 -0700 (PDT)",
        "From": "Tom Rini <trini@konsulko.com>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Jerome Forissier <jerome.forissier@linaro.org>",
        "Subject": "[PATCH] uthreads: Make use of CONFIG_IS_ENABLED consistently",
        "Date": "Wed,  1 Oct 2025 14:30:50 -0600",
        "Message-ID": "<20251001203050.2828452-1-trini@konsulko.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "We do not yet support UTHREADS in xPL phases. However, we have the need\nto dummy out certain functions so that xPL can build when full U-Boot\nhas UTHREADS enabled. Update the few places that need to use\nCONFIG_IS_ENABLED so that we have the correct dummy in xPL.\n\nSigned-off-by: Tom Rini <trini@konsulko.com>\n---\nCc: Jerome Forissier <jerome.forissier@linaro.org>\n---\n include/uthread.h | 4 ++--\n lib/Makefile      | 2 +-\n 2 files changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/include/uthread.h b/include/uthread.h\nindex 11a19aa94882..78dab77f196f 100644\n--- a/include/uthread.h\n+++ b/include/uthread.h\n@@ -72,7 +72,7 @@ struct uthread_mutex {\n \n #define UTHREAD_MUTEX_INITIALIZER { .state = UTHREAD_MUTEX_UNLOCKED }\n \n-#ifdef CONFIG_UTHREAD\n+#if CONFIG_IS_ENABLED(UTHREAD)\n \n /**\n  * uthread_create() - Create a uthread object and make it ready for execution\n@@ -184,5 +184,5 @@ static inline bool uthread_grp_done(unsigned int grp_id)\n #define uthread_mutex_trylock(_mutex) ({ 0 })\n #define uthread_mutex_unlock(_mutex) ({ 0; })\n \n-#endif /* CONFIG_UTHREAD */\n+#endif /* CONFIG_IS_ENABLED(UTHREAD) */\n #endif /* _UTHREAD_H_ */\ndiff --git a/lib/Makefile b/lib/Makefile\nindex 2643bfc867cb..7a44babffaa7 100644\n--- a/lib/Makefile\n+++ b/lib/Makefile\n@@ -159,7 +159,7 @@ obj-$(CONFIG_LIB_ELF) += elf.o\n \n obj-$(CONFIG_$(PHASE_)SEMIHOSTING) += semihosting.o\n \n-obj-$(CONFIG_UTHREAD) += uthread.o\n+obj-$(CONFIG_$(PHASE_)UTHREAD) += uthread.o\n \n #\n # Build a fast OID lookup registry from include/linux/oid_registry.h\n",
    "prefixes": []
}