Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/174812/?format=api
{ "id": 174812, "url": "http://patchwork.ozlabs.org/api/patches/174812/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1343940564-31464-1-git-send-email-linz@li-pro.net/", "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": "<1343940564-31464-1-git-send-email-linz@li-pro.net>", "list_archive_url": null, "date": "2012-08-02T20:49:24", "name": "[U-Boot] input: key_matrix: fix header inclusion", "commit_ref": "c20dbf64a976a40d39694a991d3bf51985cb35f6", "pull_url": null, "state": "accepted", "archived": false, "hash": "19c31cb3b176ec76e431e880baad684dd1303aea", "submitter": { "id": 5893, "url": "http://patchwork.ozlabs.org/api/people/5893/?format=api", "name": "Stephan Linz", "email": "linz@li-pro.net" }, "delegate": { "id": 1692, "url": "http://patchwork.ozlabs.org/api/users/1692/?format=api", "username": "monstr", "first_name": "Michal", "last_name": "Simek", "email": "monstr@monstr.eu" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1343940564-31464-1-git-send-email-linz@li-pro.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/174812/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/174812/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", "Received": [ "from theia.denx.de (theia.denx.de [85.214.87.163])\n\tby ozlabs.org (Postfix) with ESMTP id 6DA5B2C0091\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 3 Aug 2012 06:49:42 +1000 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 4FC4A28091;\n\tThu, 2 Aug 2012 22:49:38 +0200 (CEST)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id hMDakVJO20PO; Thu, 2 Aug 2012 22:49:38 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 93F7628084;\n\tThu, 2 Aug 2012 22:49:36 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 389D028084\n\tfor <u-boot@lists.denx.de>; Thu, 2 Aug 2012 22:49:34 +0200 (CEST)", "from theia.denx.de ([127.0.0.1])\n\tby localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id iILqtzgq9Y27 for <u-boot@lists.denx.de>;\n\tThu, 2 Aug 2012 22:49:33 +0200 (CEST)", "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.161])\n\tby theia.denx.de (Postfix) with ESMTPS id B36F22807E\n\tfor <u-boot@lists.denx.de>; Thu, 2 Aug 2012 22:49:32 +0200 (CEST)", "from localhost.localdomain (i5E86C651.versanet.de [94.134.198.81])\n\tby smtp.strato.de (joses mo34) (RZmta 30.4 AUTH)\n\twith ESMTPA id j0143ao72KSKCY ; Thu, 2 Aug 2012 22:49:26 +0200 (CEST)" ], "X-Virus-Scanned": [ "Debian amavisd-new at theia.denx.de", "Debian amavisd-new at theia.denx.de" ], "X-policyd-weight": "NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)", "X-RZG-AUTH": ":IGUKb2CkcrLHmZv+FHarxbxlXmJO7WRQLa+vsyW+4B7AQuz+obUhyLcuyXE=", "X-RZG-CLASS-ID": "mo00", "From": "Stephan Linz <linz@li-pro.net>", "To": "u-boot@lists.denx.de", "Date": "Thu, 2 Aug 2012 22:49:24 +0200", "Message-Id": "<1343940564-31464-1-git-send-email-linz@li-pro.net>", "X-Mailer": "git-send-email 1.7.0.4", "Cc": "Stephan Linz <linz@li-pro.net>, Tom Warren <twarren@nvidia.com>", "Subject": "[U-Boot] [PATCH] input: key_matrix: fix header inclusion", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.11", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<http://lists.denx.de/mailman/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": "<http://lists.denx.de/mailman/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "u-boot-bounces@lists.denx.de", "Errors-To": "u-boot-bounces@lists.denx.de" }, "content": "On Microblaze with device tree support enabled we run into\nthe error below.\n\nI'm not sure, but I think that all source code should include\nat least the common.h and just this fix the problem on\nMicroblaz architecture.\n\nThe error is:\n\nIn file included from key_matrix.c:29:\ninclude/malloc.h:364: error: conflicting types for 'memset'\ninclude/linux/string.h:71: error: previous declaration of 'memset' was here\ninclude/malloc.h:365: error: conflicting types for 'memcpy'\ninclude/linux/string.h:74: error: previous declaration of 'memcpy' was here\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\nCC: Bernie Thompson <bhthompson@chromium.org>\nCC: Simon Glass <sjg@chromium.org>\nCC: Tom Warren <twarren@nvidia.com>\nCC: Michal Simek <monstr@monstr.eu>\n---\n drivers/input/key_matrix.c | 1 +\n 1 files changed, 1 insertions(+), 0 deletions(-)", "diff": "diff --git a/drivers/input/key_matrix.c b/drivers/input/key_matrix.c\nindex 84b898f..715e57a 100644\n--- a/drivers/input/key_matrix.c\n+++ b/drivers/input/key_matrix.c\n@@ -23,6 +23,7 @@\n * MA 02111-1307 USA\n */\n \n+#include <common.h>\n #include <fdtdec.h>\n #include <key_matrix.h>\n #include <malloc.h>\n", "prefixes": [ "U-Boot" ] }