get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2225664,
    "url": "http://patchwork.ozlabs.org/api/patches/2225664/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260421114959.202327-1-thuth@redhat.com/",
    "project": {
        "id": 21,
        "url": "http://patchwork.ozlabs.org/api/projects/21/?format=api",
        "name": "Linux Tegra Development",
        "link_name": "linux-tegra",
        "list_id": "linux-tegra.vger.kernel.org",
        "list_email": "linux-tegra@vger.kernel.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260421114959.202327-1-thuth@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-21T11:49:59",
    "name": "ARM: tegra: Replace __ASSEMBLY__ with __ASSEMBLER__",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fc7e9d885f5b8c0301e156fe7bf4bc6c26386c9d",
    "submitter": {
        "id": 66152,
        "url": "http://patchwork.ozlabs.org/api/people/66152/?format=api",
        "name": "Thomas Huth",
        "email": "thuth@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-tegra/patch/20260421114959.202327-1-thuth@redhat.com/mbox/",
    "series": [
        {
            "id": 500786,
            "url": "http://patchwork.ozlabs.org/api/series/500786/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-tegra/list/?series=500786",
            "date": "2026-04-21T11:49:59",
            "name": "ARM: tegra: Replace __ASSEMBLY__ with __ASSEMBLER__",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/500786/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2225664/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2225664/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-tegra+bounces-13841-incoming=patchwork.ozlabs.org@vger.kernel.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "linux-tegra@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=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=RnBlCt4Z;\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-tegra+bounces-13841-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)",
            "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=\"RnBlCt4Z\"",
            "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=170.10.133.124",
            "smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com",
            "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=redhat.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 4g0LNV3FYXz1yCv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 21:53:46 +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 6697D3007F4A\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 11:50:10 +0000 (UTC)",
            "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 3045E37F8DC;\n\tTue, 21 Apr 2026 11:50:10 +0000 (UTC)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\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 B32F137881D\n\tfor <linux-tegra@vger.kernel.org>; Tue, 21 Apr 2026 11:50:08 +0000 (UTC)",
            "from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-658-abVUpCZENIOyEYY_k6aGBQ-1; Tue,\n 21 Apr 2026 07:50:05 -0400",
            "from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17])\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) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 3993C195608F;\n\tTue, 21 Apr 2026 11:50:04 +0000 (UTC)",
            "from thuth-p1g4.redhat.com (unknown [10.44.49.140])\n\tby mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 23708195608E;\n\tTue, 21 Apr 2026 11:50:00 +0000 (UTC)"
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1776772210; cv=none;\n b=mH2eXCfkI9FHNweZcObJ9buq55JY6xM3HytXIPsnmN7OixaSBz51fEYeAMYk6/4KM38IvYnKN106MdI1sAeb4meyWWBZWWv6jCXds2Yoa1Jxdnsp+HFRJmQE/TDPA6bDbUKcOuirsGIup9nevoZhb5XyQqkBm/eYL7ZrfqxmkDQ=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1776772210; c=relaxed/simple;\n\tbh=Cm0rUJBs8nzZ7M9T+A4E3JiYdq9Yfxltq88+2GfeWuw=;\n\th=From:To:Cc:Subject:Date:Message-ID:MIME-Version;\n b=LxS0XcIOi1W/uWxRifHmGJwvgy3Qz1rzxQL8vvel9z1nxBQGNW0UKqx19hn1yGwOS3Zk8fQ5T0TSvNrAC/OvCizTJHl0aaK/nH7wioFY4B42KPs+eR4bHu8g5sBB77oAGhav9U30I6SykJNYgaOVnsPc4M/jcG7wuH5pD6Qb+q8=",
        "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=quarantine dis=none) header.from=redhat.com;\n spf=pass smtp.mailfrom=redhat.com;\n dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com\n header.b=RnBlCt4Z; arc=none smtp.client-ip=170.10.133.124",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1776772207;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\t to:to:cc:cc:mime-version:mime-version:\n\t content-transfer-encoding:content-transfer-encoding;\n\tbh=/NV8ykGGMcTaxZaQ2zUVOv41TqUrDMHc9m56orvpcOA=;\n\tb=RnBlCt4ZxIxCvf6ccNH/ZmbQ3VUb7VE8+Pvl00WVCUnm2mRDhdwVUUtJFBlmDNbn3xvzUb\n\teUTMvQVXRkfykoPQvX/oi5+FqBbCOutpPVh4c3Yk8DFO2INJlCsDrfxCXo1JYYTZDh8Qzr\n\tTzAW/UXOdEx2CXGJywRklTV2WRQx0g8=",
        "X-MC-Unique": "abVUpCZENIOyEYY_k6aGBQ-1",
        "X-Mimecast-MFC-AGG-ID": "abVUpCZENIOyEYY_k6aGBQ_1776772204",
        "From": "Thomas Huth <thuth@redhat.com>",
        "To": "Thierry Reding <thierry.reding@kernel.org>,\n\tJonathan Hunter <jonathanh@nvidia.com>,\n\tlinux-tegra@vger.kernel.org",
        "Cc": "linux-arm-kernel@lists.infradead.org,\n\tlinux-kernel@vger.kernel.org",
        "Subject": "[PATCH] ARM: tegra: Replace __ASSEMBLY__ with __ASSEMBLER__",
        "Date": "Tue, 21 Apr 2026 13:49:59 +0200",
        "Message-ID": "<20260421114959.202327-1-thuth@redhat.com>",
        "Precedence": "bulk",
        "X-Mailing-List": "linux-tegra@vger.kernel.org",
        "List-Id": "<linux-tegra.vger.kernel.org>",
        "List-Subscribe": "<mailto:linux-tegra+subscribe@vger.kernel.org>",
        "List-Unsubscribe": "<mailto:linux-tegra+unsubscribe@vger.kernel.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.17"
    },
    "content": "From: Thomas Huth <thuth@redhat.com>\n\nWhile the GCC and Clang compilers already define __ASSEMBLER__\nautomatically when compiling assembly code, __ASSEMBLY__ is a\nmacro that only gets defined by the Makefiles in the kernel.\nThis can be very confusing when switching between userspace\nand kernelspace coding, or when dealing with uapi headers that\nrather should use __ASSEMBLER__ instead. So let's standardize now\non the __ASSEMBLER__ macro that is provided by the compilers.\n\nThis is a completely mechanical patch (done with a simple \"sed -i\"\nstatement).\n\nSigned-off-by: Thomas Huth <thuth@redhat.com>\n---\n Note: This patch has been split from an earlier series of mine\n       to ease reviewing\n\n arch/arm/mach-tegra/reset.h | 2 +-\n arch/arm/mach-tegra/sleep.h | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/arch/arm/mach-tegra/reset.h b/arch/arm/mach-tegra/reset.h\nindex 51265592cb1ae..92a89713d5e57 100644\n--- a/arch/arm/mach-tegra/reset.h\n+++ b/arch/arm/mach-tegra/reset.h\n@@ -21,7 +21,7 @@\n \n #define RESET_DATA(x)\t((TEGRA_RESET_##x)*4)\n \n-#ifndef __ASSEMBLY__\n+#ifndef __ASSEMBLER__\n \n #include \"irammap.h\"\n \ndiff --git a/arch/arm/mach-tegra/sleep.h b/arch/arm/mach-tegra/sleep.h\nindex 4718a3cb45a16..e332d261c1dbd 100644\n--- a/arch/arm/mach-tegra/sleep.h\n+++ b/arch/arm/mach-tegra/sleep.h\n@@ -38,7 +38,7 @@\n #define TEGRA_FLUSH_CACHE_LOUIS\t0\n #define TEGRA_FLUSH_CACHE_ALL\t1\n \n-#ifdef __ASSEMBLY__\n+#ifdef __ASSEMBLER__\n /* waits until the microsecond counter (base) is > rn */\n .macro wait_until, rn, base, tmp\n \tadd\t\\rn, \\rn, #1\n",
    "prefixes": []
}