Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/796742/?format=api
{ "id": 796742, "url": "http://patchwork.ozlabs.org/api/1.2/patches/796742/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20170802181202.52645-2-sjg@chromium.org/", "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": "<20170802181202.52645-2-sjg@chromium.org>", "list_archive_url": null, "date": "2017-08-02T18:12:02", "name": "[U-Boot,v2,2/2] dm: core: Show driver name with 'dm tree'", "commit_ref": "ee3e520dad0b368df4541cd0af0d4011cf481e5b", "pull_url": null, "state": "accepted", "archived": false, "hash": "14647a392ac5e8352e596d84bb7e20e384d9000e", "submitter": { "id": 6170, "url": "http://patchwork.ozlabs.org/api/1.2/people/6170/?format=api", "name": "Simon Glass", "email": "sjg@chromium.org" }, "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/20170802181202.52645-2-sjg@chromium.org/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/796742/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/796742/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=\"vPTxa5gN\"; dkim-atps=neutral" ], "Received": [ "from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xN1WP6qfYz9sRq\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 3 Aug 2017 04:12:49 +1000 (AEST)", "by lists.denx.de (Postfix, from userid 105)\n\tid 928B0C21DD0; Wed, 2 Aug 2017 18:12:28 +0000 (UTC)", "from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 8A223C21D58;\n\tWed, 2 Aug 2017 18:12:22 +0000 (UTC)", "by lists.denx.de (Postfix, from userid 105)\n\tid 4E509C21DA1; Wed, 2 Aug 2017 18:12:16 +0000 (UTC)", "from mail-oi0-f46.google.com (mail-oi0-f46.google.com\n\t[209.85.218.46])\n\tby lists.denx.de (Postfix) with ESMTPS id AB9D9C21D57\n\tfor <u-boot@lists.denx.de>; Wed, 2 Aug 2017 18:12:12 +0000 (UTC)", "by mail-oi0-f46.google.com with SMTP id x3so52233266oia.1\n\tfor <u-boot@lists.denx.de>; Wed, 02 Aug 2017 11:12:12 -0700 (PDT)", "from kiwi.bld.corp.google.com ([2620:0:10f2:0:24ee:ccc5:61ee:4a6a])\n\tby smtp.gmail.com with ESMTPSA id\n\tx23sm35177723oix.51.2017.08.02.11.12.10\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 02 Aug 2017 11:12:10 -0700 (PDT)", "by kiwi.bld.corp.google.com (Postfix, from userid 121222)\n\tid F251A1404D7; Wed, 2 Aug 2017 12:12:09 -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=/pyhXvxsJfMMZi/lP4L1aiV8Sy7lzCveG8mTyWrwJHs=;\n\tb=vPTxa5gNqkq232JTv79m9el53vRz1UQ5YGfXDAbFBvGh5fPibdcO/MMsYYxMVw0RrH\n\tliC8J+XzfKRL3Hv/LrviXFVZ1/JSgLmgOQX1i8i13h7WNUbnh8129QMyWF4z8yLS3x3+\n\tsT8ky/yLJ6ZAGCLuQs3rn/GlKcMNzEJ+NmGnAveiRUMg2ujPIDALIc3Sg6/08OQREYMa\n\tkrKsDnfUVcv8/aL2RJENu8ed6D8s+V1x/GhpigliXxsWB5m1e3Yfr2ASBPBwLLqHlScv\n\td9sXRSvd2mjpGWzDuKlTTsPVGt5jv2iEr6FLJYNwaGT9FZcOJSP5nKSMnFFm9Y6afabH\n\tFnEQ==", "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=/pyhXvxsJfMMZi/lP4L1aiV8Sy7lzCveG8mTyWrwJHs=;\n\tb=Ho5LKeE+sdy9/9BAozX6VN5Gwt/9FpsoEjnps0gZ3GOn0zEbbVCUBViFpJfLD32Mp9\n\ttvqA50UQymtbeFpwc00JNpQug5MuEoqdViOiVrLcJA8so4QPZCmuvbU58RqZxaL1UaBp\n\tOZOu0UalBRLR+aqqnUMTVZADg2tHxjiRKjRUCgYobWlaEfEn4mWWx1aK4PbLtQL9DJ8R\n\tqhHiz5W28fVtiU5q+C/qZ8Rsbpaxk+gJa9q8V/6qJqQLC/yzqwTo4NyMBLvyWBV7/ukh\n\tn2oxM+Wx6acmiSe64d0v13vMcNJIp2Cg64sicRY78sGJjrr5idcQAAOv6cggcxprsH5T\n\tERnQ==", "X-Gm-Message-State": "AIVw113EPnEHEtqUjratmXX0lAq6yCpKs8EwQr4xzNQWOJT5pzTB8SEy\n\tvZFy/u2Dhh4cHRHc", "X-Received": "by 10.202.74.68 with SMTP id x65mr19189110oia.301.1501697531236; \n\tWed, 02 Aug 2017 11:12:11 -0700 (PDT)", "From": "Simon Glass <sjg@chromium.org>", "To": "U-Boot Mailing List <u-boot@lists.denx.de>", "Date": "Wed, 2 Aug 2017 12:12:02 -0600", "Message-Id": "<20170802181202.52645-2-sjg@chromium.org>", "X-Mailer": "git-send-email 2.14.0.rc1.383.gd1ce394fe2-goog", "In-Reply-To": "<20170802181202.52645-1-sjg@chromium.org>", "References": "<20170802181202.52645-1-sjg@chromium.org>", "Cc": "Tom Rini <trini@konsulko.com>", "Subject": "[U-Boot] [PATCH v2 2/2] dm: core: Show driver name with 'dm tree'", "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": "It is often useful to see which driver was actually selected for each\ndevice. Add a new 'Driver' column to provide this information. Sample\noutput:\n\n Class Probed Driver Name\n----------------------------------------\n root [ + ] root_drive root_driver\n keyboard [ + ] i8042_kbd |-- keyboard\n serial [ + ] ns16550_se |-- serial\n rtc [ ] rtc_mc1468 |-- rtc\n timer [ + ] tsc_timer |-- tsc-timer\n syscon [ + ] ich6_pinct |-- pch_pinctrl\n pci [ + ] pci_x86 |-- pci\n northbridge [ + ] bd82x6x_no | |-- northbridge@0,0\n video [ + ] bd82x6x_vi | |-- gma@2,0\n vidconsole0 [ + ] vidconsole | | `-- gma@2,0.vidconsole0\n...\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\nReviewed-by: Bin Meng <bmeng.cn@gmail.com>\nTested-by: Bin Meng <bmeng.cn@gmail.com>\n---\n\nChanges in v2:\n- Drop one space between 'Probed' and 'Driver'\n\n drivers/core/dump.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/core/dump.c b/drivers/core/dump.c\nindex 1bb64098f4..6c6b944453 100644\n--- a/drivers/core/dump.c\n+++ b/drivers/core/dump.c\n@@ -16,8 +16,8 @@ static void show_devices(struct udevice *dev, int depth, int last_flag)\n \tstruct udevice *child;\n \n \t/* print the first 11 characters to not break the tree-format. */\n-\tprintf(\" %-10.10s [ %c ] \", dev->uclass->uc_drv->name,\n-\t dev->flags & DM_FLAG_ACTIVATED ? '+' : ' ');\n+\tprintf(\" %-10.10s [ %c ] %-10.10s \", dev->uclass->uc_drv->name,\n+\t dev->flags & DM_FLAG_ACTIVATED ? '+' : ' ', dev->driver->name);\n \n \tfor (i = depth; i >= 0; i--) {\n \t\tis_last = (last_flag >> i) & 1;\n@@ -48,7 +48,7 @@ void dm_dump_all(void)\n \n \troot = dm_root();\n \tif (root) {\n-\t\tprintf(\" Class Probed Name\\n\");\n+\t\tprintf(\" Class Probed Driver Name\\n\");\n \t\tprintf(\"----------------------------------------\\n\");\n \t\tshow_devices(root, -1, 0);\n \t}\n", "prefixes": [ "U-Boot", "v2", "2/2" ] }