Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807287/?format=api
{ "id": 807287, "url": "http://patchwork.ozlabs.org/api/patches/807287/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170829201601.64312-17-sjg@chromium.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": "<20170829201601.64312-17-sjg@chromium.org>", "list_archive_url": null, "date": "2017-08-29T20:16:01", "name": "[U-Boot,v2,16/16] dtoc: Add a header to the generated files", "commit_ref": "d503114c66a76b5ceb9d72da2c9b5231eb6743b8", "pull_url": null, "state": "accepted", "archived": false, "hash": "ddf6165567254bb0a3569138b875a1f5e534ca1d", "submitter": { "id": 6170, "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api", "name": "Simon Glass", "email": "sjg@chromium.org" }, "delegate": { "id": 3184, "url": "http://patchwork.ozlabs.org/api/users/3184/?format=api", "username": "sjg", "first_name": "Simon", "last_name": "Glass", "email": "sjg@chromium.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20170829201601.64312-17-sjg@chromium.org/mbox/", "series": [ { "id": 462, "url": "http://patchwork.ozlabs.org/api/series/462/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=462", "date": "2017-08-29T20:15:45", "name": "dtoc: Add support for 64-bit addresses", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/462/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807287/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807287/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=google.com header.i=@google.com\n\theader.b=\"TysEgoXc\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhgHL0gpRz9sQl\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 30 Aug 2017 06:30:06 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid D092DC2254B; Tue, 29 Aug 2017 20:23:52 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id BA01EC2269A;\n\tTue, 29 Aug 2017 20:18:17 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid BD114C21E5D; Tue, 29 Aug 2017 20:16:32 +0000 (UTC)", "from mail-oi0-f53.google.com (mail-oi0-f53.google.com\n\t[209.85.218.53])\n\tby lists.denx.de (Postfix) with ESMTPS id 48051C2254B\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 20:16:28 +0000 (UTC)", "by mail-oi0-f53.google.com with SMTP id k77so36404271oib.2\n\tfor <u-boot@lists.denx.de>; Tue, 29 Aug 2017 13:16:28 -0700 (PDT)", "from kiwi.bld.corp.google.com ([100.101.164.89])\n\tby smtp.gmail.com with ESMTPSA id\n\tm72sm3725803oig.3.2017.08.29.13.16.24\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tTue, 29 Aug 2017 13:16:24 -0700 (PDT)", "by kiwi.bld.corp.google.com (Postfix, from userid 121222)\n\tid AEB9F13FE6E; Tue, 29 Aug 2017 14:16:23 -0600 (MDT)" ], "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=google.com;\n\ts=20161025; \n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=WWRYvb4yC+RyR2qxp8JMxDrTaDUyvHPEaX/AJ4GM3HI=;\n\tb=TysEgoXc33uD77n8iH8NmCQxJwChnEOGdl0UGcBhZRhe4mSEzX35zpCEk01mC0OnXz\n\tg7F0dZv90gDZQ/GFEq14QWpt2W2QrtuJusbW5B3radLahp1+0bpVhVYWa1otsIw//Ogr\n\tXNSCOV8TfGD/CZY1vJ/1I+WsfR6fKalr83KL9G9od3Z2Luk+zkWaM8/TLcueqzu9bQKj\n\tnRwKTJXUza/UtDX65q+7ZkvVqeWza4zxlAs2bfquikCah65xwdaR4K3NJwcZALw+kedS\n\t7MKriA/Dd1zeZbHszW9LO7/YPNRZeRPDocVQvpoKZSiqlqJYmeCW7Vqr2iZQoc61yo5u\n\tYI4g==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references;\n\tbh=WWRYvb4yC+RyR2qxp8JMxDrTaDUyvHPEaX/AJ4GM3HI=;\n\tb=hdgfqP5ysl7J2Lj4guKqCSaWOYNX4IqlYUQJXAPaJPc4xfeBbZdDGXIpFmJsBlFeo4\n\tPU+gwrQXC37v/kfmV2ph5+CAXdRFnDKfn6kLkz7802J3nfvO9gyPEI9VI44+zqYU2vi5\n\twcyOc4TyNSsuvdQFT1c6EPPGPlZCTBDgrN2ZZUjYZPDf4D6A/8dqLxDH3ef0muVA6szr\n\t30zgACNZ0LskykdZ+zT6NcnHQmsx3x6aOvCeNdD9LL+G897DO/8OklBNaZ1YKRrDxnnO\n\tnljegVm5kD5EXtYCO+DDlDzn2l25fbHEXYYMdsODDhZE5I3zvmMyB9aWGYcle0D9/Azj\n\t/PSQ==", "X-Gm-Message-State": "AHYfb5gZ/d2ZM5aQZ6zoQNJdl1p2XHWx0JQKXZejE6VNeK9XFcdiQj1D\n\tSl2KVM76G0RSUwsU", "X-Google-Smtp-Source": "ADKCNb76JjYY6qlKm8brahI2m+vftxwjb95EdNyHpvnHfkEUgdFsdJeNY2THqLIxrfgWVtUZ9m9K4Q==", "X-Received": "by 10.202.81.200 with SMTP id f191mr1578124oib.162.1504037786762;\n\tTue, 29 Aug 2017 13:16:26 -0700 (PDT)", "From": "Simon Glass <sjg@chromium.org>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Tue, 29 Aug 2017 14:16:01 -0600", "Message-Id": "<20170829201601.64312-17-sjg@chromium.org>", "X-Mailer": "git-send-email 2.14.1.342.g6490525c54-goog", "In-Reply-To": "<20170829201601.64312-1-sjg@chromium.org>", "References": "<20170829201601.64312-1-sjg@chromium.org>", "Cc": "Tom Rini <trini@konsulko.com>", "Subject": "[U-Boot] [PATCH v2 16/16] dtoc: Add a header to the generated files", "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": "Add a header that indicates that the files generated by dtoc should not be\nmodified.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\nChanges in v2: None\n\n tools/dtoc/dtb_platdata.py | 12 ++++++++++++\n 1 file changed, 12 insertions(+)", "diff": "diff --git a/tools/dtoc/dtb_platdata.py b/tools/dtoc/dtb_platdata.py\nindex cfca45b0ac..dc9c0d9f45 100644\n--- a/tools/dtoc/dtb_platdata.py\n+++ b/tools/dtoc/dtb_platdata.py\n@@ -190,6 +190,16 @@ class DtbPlatdata(object):\n self._lines = []\n return lines\n \n+ def out_header(self):\n+ \"\"\"Output a message indicating that this is an auto-generated file\"\"\"\n+ self.out('''/*\n+ * DO NOT MODIFY\n+ *\n+ * This file was generated by dtoc from a .dtb (device tree binary) file.\n+ */\n+\n+''')\n+\n def get_phandle_argc(self, prop, node_name):\n \"\"\"Check if a node contains phandles\n \n@@ -410,6 +420,7 @@ class DtbPlatdata(object):\n definitions for node in self._valid_nodes. See the documentation in\n README.of-plat for more information.\n \"\"\"\n+ self.out_header()\n self.out('#include <stdbool.h>\\n')\n self.out('#include <libfdt.h>\\n')\n \n@@ -512,6 +523,7 @@ class DtbPlatdata(object):\n See the documentation in doc/driver-model/of-plat.txt for more\n information.\n \"\"\"\n+ self.out_header()\n self.out('#include <common.h>\\n')\n self.out('#include <dm.h>\\n')\n self.out('#include <dt-structs.h>\\n')\n", "prefixes": [ "U-Boot", "v2", "16/16" ] }