Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/965477/?format=api
{ "id": 965477, "url": "http://patchwork.ozlabs.org/api/patches/965477/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20180903144711.31585-3-jens.wiklander@linaro.org/", "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": "<20180903144711.31585-3-jens.wiklander@linaro.org>", "list_archive_url": null, "date": "2018-09-03T14:46:53", "name": "[U-Boot,v3,02/20] cmd: avb read_rb: print rb_idx in hexadecimal", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": false, "hash": "af578aed0b6ea5d52447bd2b2bb888ce0159ec6c", "submitter": { "id": 66201, "url": "http://patchwork.ozlabs.org/api/people/66201/?format=api", "name": "Jens Wiklander", "email": "jens.wiklander@linaro.org" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20180903144711.31585-3-jens.wiklander@linaro.org/mbox/", "series": [ { "id": 63875, "url": "http://patchwork.ozlabs.org/api/series/63875/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=63875", "date": "2018-09-03T14:46:51", "name": "AVB using OP-TEE", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/63875/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/965477/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/965477/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\tdmarc=fail (p=none dis=none) header.from=linaro.org", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"g1K1fS4i\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 423tF62fsnz9s4Z\n\tfor <incoming@patchwork.ozlabs.org>;\n\tTue, 4 Sep 2018 00:50:50 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 21378C21E56; Mon, 3 Sep 2018 14:48:18 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 91F63C21E62;\n\tMon, 3 Sep 2018 14:47:24 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid E3BFAC21E0F; Mon, 3 Sep 2018 14:47:22 +0000 (UTC)", "from mail-lf1-f67.google.com (mail-lf1-f67.google.com\n\t[209.85.167.67])\n\tby lists.denx.de (Postfix) with ESMTPS id 7BB97C21DF9\n\tfor <u-boot@lists.denx.de>; Mon, 3 Sep 2018 14:47:22 +0000 (UTC)", "by mail-lf1-f67.google.com with SMTP id r4-v6so620462lff.12\n\tfor <u-boot@lists.denx.de>; Mon, 03 Sep 2018 07:47:22 -0700 (PDT)", "from jax.ideon.se ([85.235.10.227])\n\tby smtp.gmail.com with ESMTPSA id\n\tw18-v6sm3343431ljd.73.2018.09.03.07.47.20\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tMon, 03 Sep 2018 07:47:20 -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_MSPIKE_H2,\n\tT_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=z51+B07mGdgmDlGBn5B/4PkJsIHxax8VTG0YmWy/lZA=;\n\tb=g1K1fS4i4Ygp5em2TqNDcwoKk/MepyDfGXJJ0Kq0KajqqRus23wMUEDlhp8+wiR3B4\n\tjJF1rpm237Omt3W5ZKzlfzYozC6f9WDdCivWN7GQiuqF03mf3bbeKPZKtUXSyMIqqph3\n\t4iBtP4H6oLpBzc3X8QHq1wPTpNWrIKDCkEeGM=", "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=z51+B07mGdgmDlGBn5B/4PkJsIHxax8VTG0YmWy/lZA=;\n\tb=pS5VeuTABgE6Kg50800HG4vTeVxwpME0NSIjsUUXHC8ysfxRdc5T+udkpJGxhXw28q\n\tTS05MZmFrBpxKADWCpk/mZjoLa1/FcYYYYlY4DKQzXNXXpKABGIeDQi1NEJmwxTTXLL/\n\tyY4WLIopmVpIDFEZKVlD0JMJMhWa4zJkiOYCeiwh9weEhC3duWEyEr3HoRdWxm7iBMyV\n\tL8xFZCh5E5gtMZgbi9MDVZsME4dYlT9yoomzMaH5IW1HFhd26wJIOlwq9WORHUniTd6v\n\t7t/Mh/o/yrN+TdODRxhIOQG7xtRlSrlhTeWygXqpgvLdfTCv78WtkX6ybukyfXMyTHht\n\tp8WA==", "X-Gm-Message-State": "APzg51ByU7aLafe4g65b5plXutHjgLDR2BgUWm9R7RAbm/EERIDtWwGy\n\tCHitOsiy3dkaxRxPk98shDM9qyH5J94=", "X-Google-Smtp-Source": "ANB0VdaLK3aDya7Im6++b03EWMRkcWRoYRSXJ1V34AdjHTszI15U/Got/7+4/wcK598+Nlq7PyC+1w==", "X-Received": "by 2002:a19:cc08:: with SMTP id\n\tc8-v6mr18986918lfg.145.1535986041592; \n\tMon, 03 Sep 2018 07:47:21 -0700 (PDT)", "From": "Jens Wiklander <jens.wiklander@linaro.org>", "To": "u-boot@lists.denx.de", "Date": "Mon, 3 Sep 2018 16:46:53 +0200", "Message-Id": "<20180903144711.31585-3-jens.wiklander@linaro.org>", "X-Mailer": "git-send-email 2.17.1", "In-Reply-To": "<20180903144711.31585-1-jens.wiklander@linaro.org>", "References": "<20180903144711.31585-1-jens.wiklander@linaro.org>", "Cc": "Tom Rini <trini@konsulko.com>, Pierre Aubert <p.aubert@staubli.com>", "Subject": "[U-Boot] [PATCH v3 02/20] cmd: avb read_rb: print rb_idx in\n\thexadecimal", "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": "Prior to this patch was do_avb_write_rb() reading supplied rb_idx as a\nhexadecimal number while do_avb_read_rb() printed the read out rb_idx as\ndecimal number. For consistency change do_avb_read_rb() to print rb_idx\nas a hexadecimal number too.\n\nReviewed-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>\nSigned-off-by: Jens Wiklander <jens.wiklander@linaro.org>\n---\n cmd/avb.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/cmd/avb.c b/cmd/avb.c\nindex f045a0c64c4a..ca4b26d5d7b3 100644\n--- a/cmd/avb.c\n+++ b/cmd/avb.c\n@@ -158,7 +158,7 @@ int do_avb_read_rb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])\n \n \tif (avb_ops->read_rollback_index(avb_ops, index, &rb_idx) ==\n \t AVB_IO_RESULT_OK) {\n-\t\tprintf(\"Rollback index: %llu\\n\", rb_idx);\n+\t\tprintf(\"Rollback index: %llx\\n\", rb_idx);\n \t\treturn CMD_RET_SUCCESS;\n \t}\n \treturn CMD_RET_FAILURE;\n", "prefixes": [ "U-Boot", "v3", "02/20" ] }