Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/800478/?format=api
{ "id": 800478, "url": "http://patchwork.ozlabs.org/api/1.2/patches/800478/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1502441568-22896-10-git-send-email-pantelis.antoniou@konsulko.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.2/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": "<1502441568-22896-10-git-send-email-pantelis.antoniou@konsulko.com>", "list_archive_url": null, "date": "2017-08-11T08:52:47", "name": "[U-Boot,v2,09/10] ut: fix fdt_getprop_u32() change", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "47abae4aa5561cbf8cac4317be9aa6d2d6f16457", "submitter": { "id": 64098, "url": "http://patchwork.ozlabs.org/api/1.2/people/64098/?format=api", "name": "Pantelis Antoniou", "email": "pantelis.antoniou@konsulko.com" }, "delegate": { "id": 3184, "url": "http://patchwork.ozlabs.org/api/1.2/users/3184/?format=api", "username": "sjg", "first_name": "Simon", "last_name": "Glass", "email": "sjg@chromium.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1502441568-22896-10-git-send-email-pantelis.antoniou@konsulko.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/800478/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/800478/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\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"COfg2KvH\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xTJrX5f2cz9t36\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 11 Aug 2017 19:01:00 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 8447FC21DAB; Fri, 11 Aug 2017 08:58:51 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 208B2C21DAD;\n\tFri, 11 Aug 2017 08:56:33 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 5C4B5C21DC7; Fri, 11 Aug 2017 08:55:55 +0000 (UTC)", "from mail-wm0-f53.google.com (mail-wm0-f53.google.com\n\t[74.125.82.53])\n\tby lists.denx.de (Postfix) with ESMTPS id 22677C21DBC\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 08:55:52 +0000 (UTC)", "by mail-wm0-f53.google.com with SMTP id t138so1003019wmt.1\n\tfor <u-boot@lists.denx.de>; Fri, 11 Aug 2017 01:55:52 -0700 (PDT)", "from localhost.localdomain ([195.97.110.117])\n\tby smtp.gmail.com with ESMTPSA id\n\to71sm759811wmg.15.2017.08.11.01.55.50\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 11 Aug 2017 01:55:51 -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=RCVD_IN_DNSWL_NONE,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=xMaf5W9z64A3BFJPJxWqTCqrzLsdYru8oIdZWrxaLvM=;\n\tb=COfg2KvHEPCcAtjKbDzkqMZigeKK6lO7qZAbJ6Y3X+PZo8TftJqW53uRYLXBYsBtnh\n\ti8RCs6TXetO0ksfZydG61ojVDT5Ht8yfEbaO8Cmgjn1rzANKD26gmsbwy/j/NQaZ0/XB\n\t6uwq0wKtQrFLAzxzlSVyIRF01OOt+M8o1bCPE=", "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=xMaf5W9z64A3BFJPJxWqTCqrzLsdYru8oIdZWrxaLvM=;\n\tb=hz2lSx3bGfQ9OGbaPX9z+qIi6CwC+dwRI10ZbpQBaqui/DhivrKo41ueL+QllzdRob\n\tErqREIMFVYSMvGnED4IXD47Pwg/fIDWUxl1eqPNk70hqNCp9aZweoWkKCn0VcxwJYgtv\n\twxVpAfXUIbV18xyRNVPkZE8QuisD681LhcdrLJmMEgNjz9KKzJ3ag1nDt16x4tVvjB/B\n\twLuZQZ5q+fDdU6o7tygXlf0CfD3bh2uObMlfpELty9OhUZxDG+WBqbDa36t+1LLBWuUf\n\tQjqERHRTxJU0sSKYq4e4jtma01nAruu5iVnSIXWoKWHy2L7TjFRxD5xtaSzxtp+jnjoM\n\tV6gQ==", "X-Gm-Message-State": "AHYfb5gd+yi3E/cmErumjhG6kfSgU20gpnJkX7RqAbh6f+CwsDWHbUrB\n\tVM/VxalHmU/w0rSA", "X-Received": "by 10.28.164.66 with SMTP id n63mr8605683wme.82.1502441751835;\n\tFri, 11 Aug 2017 01:55:51 -0700 (PDT)", "From": "Pantelis Antoniou <pantelis.antoniou@konsulko.com>", "To": "Tom Rini <trini@konsulko.com>", "Date": "Fri, 11 Aug 2017 11:52:47 +0300", "Message-Id": "<1502441568-22896-10-git-send-email-pantelis.antoniou@konsulko.com>", "X-Mailer": "git-send-email 2.1.4", "In-Reply-To": "<1502441568-22896-1-git-send-email-pantelis.antoniou@konsulko.com>", "References": "<1502441568-22896-1-git-send-email-pantelis.antoniou@konsulko.com>", "Cc": "Marek Vasut <marex@denx.de>,\n\tPantelis Antoniou <pantelis.antoniou@konsulko.com>,\n\tTero Kristo <t-kristo@ti.com>, u-boot@lists.denx.de,\n\tMaxime Ripard <maxime.ripard@free-electrons.com>,\n\tStefan Roese <sr@denx.de>, Alan Ott <alan@signal11.us>", "Subject": "[U-Boot] [PATCH v2 09/10] ut: fix fdt_getprop_u32() change", "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": "fdt_getprop_u32 is not exported and it's different than what the\nunit test uses. Rename u32 prop access methods to something that's\nunit test specific.\n\nSigned-off-by: Pantelis Antoniou <pantelis.antoniou@konsulko.com>\n---\n test/overlay/cmd_ut_overlay.c | 16 ++++++++--------\n 1 file changed, 8 insertions(+), 8 deletions(-)", "diff": "diff --git a/test/overlay/cmd_ut_overlay.c b/test/overlay/cmd_ut_overlay.c\nindex cbef720..7106f42 100644\n--- a/test/overlay/cmd_ut_overlay.c\n+++ b/test/overlay/cmd_ut_overlay.c\n@@ -21,7 +21,7 @@\n extern u32 __dtb_test_fdt_base_begin;\n extern u32 __dtb_test_fdt_overlay_begin;\n \n-static int fdt_getprop_u32_by_index(void *fdt, const char *path,\n+static int ut_fdt_getprop_u32_by_index(void *fdt, const char *path,\n \t\t\t\t const char *name, int index,\n \t\t\t\t u32 *out)\n {\n@@ -42,10 +42,10 @@ static int fdt_getprop_u32_by_index(void *fdt, const char *path,\n \treturn 0;\n }\n \n-static int fdt_getprop_u32(void *fdt, const char *path, const char *name,\n+static int ut_fdt_getprop_u32(void *fdt, const char *path, const char *name,\n \t\t\t u32 *out)\n {\n-\treturn fdt_getprop_u32_by_index(fdt, path, name, 0, out);\n+\treturn ut_fdt_getprop_u32_by_index(fdt, path, name, 0, out);\n }\n \n static int fdt_getprop_str(void *fdt, const char *path, const char *name,\n@@ -68,7 +68,7 @@ static int fdt_overlay_change_int_property(struct unit_test_state *uts)\n \tvoid *fdt = uts->priv;\n \tu32 val = 0;\n \n-\tut_assertok(fdt_getprop_u32(fdt, \"/test-node\", \"test-int-property\",\n+\tut_assertok(ut_fdt_getprop_u32(fdt, \"/test-node\", \"test-int-property\",\n \t\t\t\t &val));\n \tut_asserteq(43, val);\n \n@@ -158,11 +158,11 @@ static int fdt_overlay_local_phandle(struct unit_test_state *uts)\n \tlocal_phandle = fdt_get_phandle(fdt, off);\n \tut_assert(local_phandle);\n \n-\tut_assertok(fdt_getprop_u32_by_index(fdt, \"/\", \"test-several-phandle\",\n+\tut_assertok(ut_fdt_getprop_u32_by_index(fdt, \"/\", \"test-several-phandle\",\n \t\t\t\t\t 0, &val));\n \tut_asserteq(local_phandle, val);\n \n-\tut_assertok(fdt_getprop_u32_by_index(fdt, \"/\", \"test-several-phandle\",\n+\tut_assertok(ut_fdt_getprop_u32_by_index(fdt, \"/\", \"test-several-phandle\",\n \t\t\t\t\t 1, &val));\n \tut_asserteq(local_phandle, val);\n \n@@ -189,11 +189,11 @@ static int fdt_overlay_local_phandles(struct unit_test_state *uts)\n \ttest_phandle = fdt_get_phandle(fdt, off);\n \tut_assert(test_phandle);\n \n-\tut_assertok(fdt_getprop_u32_by_index(fdt, \"/\", \"test-phandle\", 0,\n+\tut_assertok(ut_fdt_getprop_u32_by_index(fdt, \"/\", \"test-phandle\", 0,\n \t\t\t\t\t &val));\n \tut_asserteq(test_phandle, val);\n \n-\tut_assertok(fdt_getprop_u32_by_index(fdt, \"/\", \"test-phandle\", 1,\n+\tut_assertok(ut_fdt_getprop_u32_by_index(fdt, \"/\", \"test-phandle\", 1,\n \t\t\t\t\t &val));\n \tut_asserteq(local_phandle, val);\n \n", "prefixes": [ "U-Boot", "v2", "09/10" ] }