get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1462143,
    "url": "http://patchwork.ozlabs.org/api/patches/1462143/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/linux-um/patch/20210404182044.9918-1-rdunlap@infradead.org/",
    "project": {
        "id": 60,
        "url": "http://patchwork.ozlabs.org/api/projects/60/?format=api",
        "name": "User-mode Linux Development",
        "link_name": "linux-um",
        "list_id": "linux-um.lists.infradead.org",
        "list_email": "linux-um@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20210404182044.9918-1-rdunlap@infradead.org>",
    "list_archive_url": null,
    "date": "2021-04-04T18:20:44",
    "name": "um: add 2 missing libs to fix various build errors",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "24ff7430af273148a8cdc0807f93580d8ed48a99",
    "submitter": {
        "id": 18663,
        "url": "http://patchwork.ozlabs.org/api/people/18663/?format=api",
        "name": "Randy Dunlap",
        "email": "rdunlap@infradead.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/linux-um/patch/20210404182044.9918-1-rdunlap@infradead.org/mbox/",
    "series": [
        {
            "id": 237349,
            "url": "http://patchwork.ozlabs.org/api/series/237349/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/linux-um/list/?series=237349",
            "date": "2021-04-04T18:20:44",
            "name": "um: add 2 missing libs to fix various build errors",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/237349/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1462143/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1462143/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "\n <linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org",
        "Authentication-Results": [
            "ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2001:8b0:10b:1:d65d:64ff:fe57:4e05; helo=desiato.infradead.org;\n envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=desiato.20200630 header.b=KgkWkwwV;\n\tdkim-atps=neutral"
        ],
        "Received": [
            "from desiato.infradead.org (desiato.infradead.org\n [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 4FD2DP0JH7z9sRf\n\tfor <incoming@patchwork.ozlabs.org>; Mon,  5 Apr 2021 04:21:23 +1000 (AEST)",
            "from localhost ([::1] helo=desiato.infradead.org)\n\tby desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux))\n\tid 1lT7Mt-00G5wZ-8s; Sun, 04 Apr 2021 18:21:03 +0000",
            "from [2601:1c0:6280:3f0::e0e1] (helo=smtpauth.infradead.org)\n by desiato.infradead.org with esmtpsa (Exim 4.94 #2 (Red Hat Linux))\n id 1lT7Mk-00G5wC-UC; Sun, 04 Apr 2021 18:20:57 +0000"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding\n\t:Content-Type:List-Subscribe:List-Help:List-Post:List-Archive:\n\tList-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From:\n\tReply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender\n\t:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner;\n\tbh=vRgtEZEtqWls3gC9ReLx3weHUdUhD8fBNqyUj6skqZw=; b=KgkWkwwVa6X9eGP+nFEUQCLDvf\n\tgd0WF13OB2nZIr6NrDQ3eaYZI1gVqo6OMRAaCCVPttLwkIJZAUC0UghCytd1e57Lsi8J/T38h1zRu\n\tSOJLbZ6mMXUXUrqKMLUazv01oX71sAsIEkRho6Q6owueb+aHeXpNQwrtZVOfdKwT3dnypWKOerl61\n\tC1cQ1dLRcWdvOwcShiJclL/CNe1u81DOgKK1ajsHZP48qlRP0oiEH3le/GriZjT3l5tkD8DTyl/22\n\tORZlwLjn7u9Hh8XA3gcKrsq/QkWvYLI1p+UAOfYL+uQsigUo0HwRdIU1m0jJB1Y3lU6Is7WscK/Rg\n\tMM4CUMXg==;",
        "From": "Randy Dunlap <rdunlap@infradead.org>",
        "To": "linux-kernel@vger.kernel.org",
        "Cc": "Randy Dunlap <rdunlap@infradead.org>, kernel test robot <lkp@intel.com>,\n Brendan Jackman <jackmanb@google.com>, Alexei Starovoitov <ast@kernel.org>,\n kbuild-all@lists.01.org, Jeff Dike <jdike@addtoit.com>,\n Richard Weinberger <richard@nod.at>,\n Anton Ivanov <anton.ivanov@cambridgegreys.com>,\n linux-um@lists.infradead.org, Johannes Berg <johannes@sipsolutions.net>,\n Johannes Berg <johannes.berg@intel.com>",
        "Subject": "[PATCH] um: add 2 missing libs to fix various build errors",
        "Date": "Sun,  4 Apr 2021 11:20:44 -0700",
        "Message-Id": "<20210404182044.9918-1-rdunlap@infradead.org>",
        "X-Mailer": "git-send-email 2.26.2",
        "MIME-Version": "1.0",
        "X-BeenThere": "linux-um@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "<linux-um.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/linux-um/>",
        "List-Post": "<mailto:linux-um@lists.infradead.org>",
        "List-Help": "<mailto:linux-um-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-um>,\n <mailto:linux-um-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"linux-um\" <linux-um-bounces@lists.infradead.org>",
        "Errors-To": "linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Fix many build errors (at least 18 build error reports) for uml on i386\nby adding 2 more library object files. All missing symbols are\neither cmpxchg8b_emu or atomic*386.\n\nHere are a few examples of the build errors that are eliminated:\n\n   /usr/bin/ld: core.c:(.text+0xd83): undefined reference to `cmpxchg8b_emu'\n   /usr/bin/ld: core.c:(.text+0x2bb2): undefined reference to `atomic64_add_386'\n   /usr/bin/ld: core.c:(.text+0x2c5d): undefined reference to `atomic64_xchg_386'\n   syscall.c:(.text+0x2f49): undefined reference to `atomic64_set_386'\n   /usr/bin/ld: syscall.c:(.text+0x2f54): undefined reference to `atomic64_set_386'\n   syscall.c:(.text+0x33a4): undefined reference to `atomic64_inc_386'\n   /usr/bin/ld: syscall.c:(.text+0x33ac): undefined reference to `atomic64_inc_386'\n   /usr/bin/ld: net/ipv4/inet_timewait_sock.o: in function `inet_twsk_alloc':\n   inet_timewait_sock.c:(.text+0x3d1): undefined reference to `atomic64_read_386'\n   /usr/bin/ld: inet_timewait_sock.c:(.text+0x3dd): undefined reference to `atomic64_set_386'\n   /usr/bin/ld: net/ipv4/inet_connection_sock.o: in function `inet_csk_clone_lock':\n   inet_connection_sock.c:(.text+0x1d74): undefined reference to `atomic64_read_386'\n   /usr/bin/ld: inet_connection_sock.c:(.text+0x1d80): undefined reference to `atomic64_set_386'\n   /usr/bin/ld: net/ipv4/tcp_input.o: in function `inet_reqsk_alloc':\n   tcp_input.c:(.text+0xa345): undefined reference to `atomic64_set_386'\n   /usr/bin/ld: net/mac80211/wpa.o: in function `ieee80211_crypto_tkip_encrypt':\n   wpa.c:(.text+0x739): undefined reference to `atomic64_inc_return_386'\n\nSigned-off-by: Randy Dunlap <rdunlap@infradead.org>\nReported-by: kernel test robot <lkp@intel.com>\nCc: Brendan Jackman <jackmanb@google.com>\nCc: Alexei Starovoitov <ast@kernel.org>\nCc: kbuild-all@lists.01.org\nCc: Jeff Dike <jdike@addtoit.com>\nCc: Richard Weinberger <richard@nod.at>\nCc: Anton Ivanov <anton.ivanov@cambridgegreys.com>\nCc: linux-um@lists.infradead.org\nCc: Johannes Berg <johannes@sipsolutions.net>\nCc: Johannes Berg <johannes.berg@intel.com>\n---\nMy UML on i386 build environment is br0ken so this is not tested other\nthan to see that the .o files are built as expected.\nIf someone can test/verify it, please respond. Thanks.\n\n arch/x86/um/Makefile |    1 +\n 1 file changed, 1 insertion(+)",
    "diff": "--- lnx-512-rc5.orig/arch/x86/um/Makefile\n+++ lnx-512-rc5/arch/x86/um/Makefile\n@@ -21,6 +21,7 @@ obj-y += checksum_32.o syscalls_32.o\n obj-$(CONFIG_ELF_CORE) += elfcore.o\n \n subarch-y = ../lib/string_32.o ../lib/atomic64_32.o ../lib/atomic64_cx8_32.o\n+subarch-y += ../lib/cmpxchg8b_emu.o ../lib/atomic64_386_32.o\n subarch-y += ../kernel/sys_ia32.o\n \n else\n",
    "prefixes": []
}