Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/812140/?format=api
{ "id": 812140, "url": "http://patchwork.ozlabs.org/api/patches/812140/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170910132236.14318-7-robdclark@gmail.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": "<20170910132236.14318-7-robdclark@gmail.com>", "list_archive_url": null, "date": "2017-09-10T13:22:27", "name": "[U-Boot,v1,06/12] efi_loader: start fleshing out efi_device_path_utilities", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "fb736dd4b501eba1db7090a671578caa900257df", "submitter": { "id": 18760, "url": "http://patchwork.ozlabs.org/api/people/18760/?format=api", "name": "Rob Clark", "email": "robdclark@gmail.com" }, "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/20170910132236.14318-7-robdclark@gmail.com/mbox/", "series": [ { "id": 2401, "url": "http://patchwork.ozlabs.org/api/series/2401/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=2401", "date": "2017-09-10T13:22:21", "name": "efi_loader+video: support for Shell.efi", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/2401/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/812140/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/812140/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>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"qwOKDZx7\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xqsJG1rhpz9s7g\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 10 Sep 2017 23:25:50 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid EDC05C21DEB; Sun, 10 Sep 2017 13:24:31 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id D085BC21F50;\n\tSun, 10 Sep 2017 13:23:29 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 4BC99C21E77; Sun, 10 Sep 2017 13:23:12 +0000 (UTC)", "from mail-qt0-f193.google.com (mail-qt0-f193.google.com\n\t[209.85.216.193])\n\tby lists.denx.de (Postfix) with ESMTPS id 12D8FC21E74\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 13:23:03 +0000 (UTC)", "by mail-qt0-f193.google.com with SMTP id 7so4190694qtz.3\n\tfor <u-boot@lists.denx.de>; Sun, 10 Sep 2017 06:23:03 -0700 (PDT)", "from localhost ([2601:184:4780:aac0:25f8:dd96:a084:785a])\n\tby smtp.gmail.com with ESMTPSA id\n\tq52sm4543624qtc.12.2017.09.10.06.23.00\n\t(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n\tSun, 10 Sep 2017 06:23:00 -0700 (PDT)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-0.0 required=5.0 tests=FREEMAIL_FROM,\n\tRCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=HXdAp0zEVWe5zGXYEnjYmwjovDI2F9EsqoSyXMyoAsg=;\n\tb=qwOKDZx7bclzxNS+PAC3a8+AyoMki+pMAn9US8Uh/p2HKF3FUVorWmzEvlk0/4Dq2D\n\t6wZd3n6WZTe6zEpLllJa7vGIbKPoJcPEEHQZ/La3Cjl75x6Eg/Q2WimJEikn68TTJ4Bd\n\t2WyKBSNjzDnvLFM6QjtvOFuWjzB49wxwkB2xF9yocJoATQ4Bbq0Jq3eQu/ru0gc2BLRU\n\tw+ZaliqvYRS31WdmxQYrURXm86SMv2Ei90++XpR0K8hovNgIDH2M9bEmWnlh2LEOA/Gq\n\t7fDUYytO0sKyWR1YPIY38J9hxXL6tSMRZuZvd8agSZO87G16Pdgs0WPjkK4QCM3/VPnr\n\ttLVw==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=HXdAp0zEVWe5zGXYEnjYmwjovDI2F9EsqoSyXMyoAsg=;\n\tb=NAW/SdG2ndz8JGDTZNx5Cgq6MjkPiT3r0pZtNHhJoMFbX3IUlnT09FABI5fa+9weOs\n\tq/wz3a7jm5g653nDtulb4IXiWpcL+Bh1Jj97WAhyVUWiOM/9Xcdlnv10tDmXky3yvhw3\n\t0qK+E1BeBakS3eLYLfzFAKdDJDVh4jUEPvjAAV1ZHB7sPsnVHAkCefoBxWTiNB6GWD7B\n\tFbp3OVi9SQIu1CQI2oNoQtvmEd80UmWO2SvdgICmMYq27hx8EV3dtQe0fDa9AfqOO0QN\n\tAUk7frJVoV90hu5vnFlYoRHbYlpQm/tYMwYqCRwIL6DpOpUk8dPOWvE+ZaeNc5PgSJG0\n\tcMQg==", "X-Gm-Message-State": "AHPjjUiRRP8VVNpuFC2benvqLOUZFddaVOBRO9p2pmK0WiPfE7HExBxp\n\tLrRDKaCj9guwr5zZh8c=", "X-Google-Smtp-Source": "AOwi7QATt6go53ntUUcBr21MSyQP85sstGzuYi9sMx6E0bC/sNyx5n7GN+3Y7lz9Ze5GzCWTwd3iaA==", "X-Received": "by 10.200.2.141 with SMTP id p13mr4583429qtg.45.1505049781769;\n\tSun, 10 Sep 2017 06:23:01 -0700 (PDT)", "From": "Rob Clark <robdclark@gmail.com>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Sun, 10 Sep 2017 09:22:27 -0400", "Message-Id": "<20170910132236.14318-7-robdclark@gmail.com>", "X-Mailer": "git-send-email 2.13.5", "In-Reply-To": "<20170910132236.14318-1-robdclark@gmail.com>", "References": "<20170910132236.14318-1-robdclark@gmail.com>", "Cc": "Heinrich Schuchardt <xypron.glpk@gmx.de>,\n\tLeif Lindholm <leif.lindholm@linaro.org>", "Subject": "[U-Boot] [PATCH v1 06/12] efi_loader: start fleshing out\n\tefi_device_path_utilities", "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": "Not complete, but enough for Shell.efi and SCT.efi.\n\nSigned-off-by: Rob Clark <robdclark@gmail.com>\n---\n lib/efi_loader/efi_device_path_utilities.c | 28 ++++++++++++++++------------\n 1 file changed, 16 insertions(+), 12 deletions(-)", "diff": "diff --git a/lib/efi_loader/efi_device_path_utilities.c b/lib/efi_loader/efi_device_path_utilities.c\nindex 4b97080f35..37b539e8ff 100644\n--- a/lib/efi_loader/efi_device_path_utilities.c\n+++ b/lib/efi_loader/efi_device_path_utilities.c\n@@ -12,36 +12,40 @@\n const efi_guid_t efi_guid_device_path_utilities_protocol =\n \t\tEFI_DEVICE_PATH_UTILITIES_PROTOCOL_GUID;\n \n-static UINTN get_device_path_size(const struct efi_device_path *device_path)\n+static UINTN EFIAPI get_device_path_size(const struct efi_device_path *device_path)\n {\n+\tUINTN sz = 0;\n \tEFI_ENTRY(\"%p\", device_path);\n-\treturn EFI_EXIT(0);\n+\t/* size includes the END node: */\n+\tif (device_path)\n+\t\tsz = efi_dp_size(device_path) + sizeof(struct efi_device_path);\n+\treturn EFI_EXIT(sz);\n }\n \n-static struct efi_device_path *duplicate_device_path(\n+static struct efi_device_path * EFIAPI duplicate_device_path(\n \tconst struct efi_device_path *device_path)\n {\n \tEFI_ENTRY(\"%p\", device_path);\n-\treturn EFI_EXIT(NULL);\n+\treturn EFI_EXIT(efi_dp_dup(device_path));\n }\n \n-static struct efi_device_path *append_device_path(\n+static struct efi_device_path * EFIAPI append_device_path(\n \tconst struct efi_device_path *src1,\n \tconst struct efi_device_path *src2)\n {\n \tEFI_ENTRY(\"%p, %p\", src1, src2);\n-\treturn EFI_EXIT(NULL);\n+\treturn EFI_EXIT(efi_dp_append(src1, src2));\n }\n \n-static struct efi_device_path *append_device_node(\n+static struct efi_device_path * EFIAPI append_device_node(\n \tconst struct efi_device_path *device_path,\n \tconst struct efi_device_path *device_node)\n {\n \tEFI_ENTRY(\"%p, %p\", device_path, device_node);\n-\treturn EFI_EXIT(NULL);\n+\treturn EFI_EXIT(efi_dp_append_node(device_path, device_node));\n }\n \n-static struct efi_device_path *append_device_path_instance(\n+static struct efi_device_path * EFIAPI append_device_path_instance(\n \tconst struct efi_device_path *device_path,\n \tconst struct efi_device_path *device_path_instance)\n {\n@@ -49,7 +53,7 @@ static struct efi_device_path *append_device_path_instance(\n \treturn EFI_EXIT(NULL);\n }\n \n-static struct efi_device_path *get_next_device_path_instance(\n+static struct efi_device_path * EFIAPI get_next_device_path_instance(\n \tstruct efi_device_path **device_path_instance,\n \tUINTN *device_path_instance_size)\n {\n@@ -57,14 +61,14 @@ static struct efi_device_path *get_next_device_path_instance(\n \treturn EFI_EXIT(NULL);\n }\n \n-static struct efi_device_path *create_device_node(\n+static struct efi_device_path * EFIAPI create_device_node(\n \tuint8_t node_type, uint8_t node_sub_type, uint16_t node_length)\n {\n \tEFI_ENTRY(\"%u, %u, %u\", node_type, node_sub_type, node_length);\n \treturn EFI_EXIT(NULL);\n }\n \n-static bool is_device_path_multi_instance(\n+static bool EFIAPI is_device_path_multi_instance(\n \tconst struct efi_device_path *device_path)\n {\n \tEFI_ENTRY(\"%p\", device_path);\n", "prefixes": [ "U-Boot", "v1", "06/12" ] }