Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/810645/?format=api
{ "id": 810645, "url": "http://patchwork.ozlabs.org/api/patches/810645/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170906144932.24403-1-xypron.glpk@gmx.de/", "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": "<20170906144932.24403-1-xypron.glpk@gmx.de>", "list_archive_url": null, "date": "2017-09-06T14:49:32", "name": "[U-Boot,1/1] efi_loader: move efi_guid_t typedef to efi.h", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "6f98f925737c71d51b8764209f7fd588a25bc802", "submitter": { "id": 61270, "url": "http://patchwork.ozlabs.org/api/people/61270/?format=api", "name": "Heinrich Schuchardt", "email": "xypron.glpk@gmx.de" }, "delegate": { "id": 3400, "url": "http://patchwork.ozlabs.org/api/users/3400/?format=api", "username": "agraf", "first_name": "Alexander", "last_name": "Graf", "email": "agraf@suse.de" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170906144932.24403-1-xypron.glpk@gmx.de/mbox/", "series": [ { "id": 1827, "url": "http://patchwork.ozlabs.org/api/series/1827/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=1827", "date": "2017-09-06T14:49:32", "name": "[U-Boot,1/1] efi_loader: move efi_guid_t typedef to efi.h", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/1827/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/810645/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/810645/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)", "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnRMM6VZ3z9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 7 Sep 2017 00:50:06 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 2D593C21FA2; Wed, 6 Sep 2017 14:50:03 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 809B9C21E3B;\n\tWed, 6 Sep 2017 14:49:59 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid CC245C21E3B; Wed, 6 Sep 2017 14:49:57 +0000 (UTC)", "from mout.gmx.net (mout.gmx.net [212.227.17.21])\n\tby lists.denx.de (Postfix) with ESMTPS id 6CF55C21DC4\n\tfor <u-boot@lists.denx.de>; Wed, 6 Sep 2017 14:49:57 +0000 (UTC)", "from laptop1.fritz.box ([92.40.248.169]) by mail.gmx.com (mrgmx103\n\t[212.227.17.174]) with ESMTPSA (Nemesis) id\n\t0M9KR0-1dkgVQ2E4E-00CiXD; Wed, 06 Sep 2017 16:49:48 +0200" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.7 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_LOW autolearn=unavailable autolearn_force=no\n\tversion=3.4.0", "From": "Heinrich Schuchardt <xypron.glpk@gmx.de>", "To": "Alexander Graf <agraf@suse.de>", "Date": "Wed, 6 Sep 2017 16:49:32 +0200", "Message-Id": "<20170906144932.24403-1-xypron.glpk@gmx.de>", "X-Mailer": "git-send-email 2.11.0", "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AjizS8pI3hksX\n\taBnxwiwQWkoIHkWcrzbCbvdYQ4O7JglcII1GByGj4QS/cIUG9AFY6i+pGBRtnUzKb3VjjPcN1\n\t4822yjk6+vilDtJjg0wDMo4LpHELg==", "Cc": "Petr Kulhavy <brain@jikos.cz>, Heinrich Schuchardt <xypron.glpk@gmx.de>, \n\tu-boot@lists.denx.de, Steve Rae <steve.rae@raedomain.com>", "Subject": "[U-Boot] [PATCH 1/1] efi_loader: move efi_guid_t typedef to efi.h", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.18", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<http://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\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "base64", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>" }, "content": "efi_guid_t is used both in efi_api.h and in part_efi.h.\nBoth include efi.h. So we should move the typedef to\nthe common include. This saves us from including\npart_efi.h in places where we don't need it.\n\nSigned-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>\n---\ndownload.suse.org seems to be down.\nSo I was no able to test on Travis CI.\nI just built for vexpress and x86.\n---\n include/efi.h | 3 +++\n include/part_efi.h | 4 ----\n 2 files changed, 3 insertions(+), 4 deletions(-)", "diff": "diff --git a/include/efi.h b/include/efi.h\nindex 02b78b31b1..6cb7db1ea5 100644\n--- a/include/efi.h\n+++ b/include/efi.h\n@@ -81,6 +81,9 @@ typedef unsigned long efi_status_t;\n typedef u64 efi_physical_addr_t;\n typedef u64 efi_virtual_addr_t;\n typedef void *efi_handle_t;\n+typedef struct {\n+\tu8 b[16];\n+} efi_guid_t;\n \n #define EFI_GUID(a, b, c, d0, d1, d2, d3, d4, d5, d6, d7) \\\n \t((efi_guid_t) \\\ndiff --git a/include/part_efi.h b/include/part_efi.h\nindex 317c044795..31e6bc6e14 100644\n--- a/include/part_efi.h\n+++ b/include/part_efi.h\n@@ -58,10 +58,6 @@\n /* linux/include/efi.h */\n typedef u16 efi_char16_t;\n \n-typedef struct {\n-\tu8 b[16];\n-} efi_guid_t;\n-\n /* based on linux/include/genhd.h */\n struct partition {\n \tu8 boot_ind;\t\t/* 0x80 - active */\n", "prefixes": [ "U-Boot", "1/1" ] }