Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/170899/?format=api
{ "id": 170899, "url": "http://patchwork.ozlabs.org/api/patches/170899/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1342184620-31448-1-git-send-email-hkronsto@frequentis.com/", "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": "<1342184620-31448-1-git-send-email-hkronsto@frequentis.com>", "list_archive_url": null, "date": "2012-07-13T13:03:40", "name": "[U-Boot] dts/Makefile: Turn off system-/gcc-specific predefined macros", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "2c7c44cd582d06ce6f6e620065ce2703d49ac881", "submitter": { "id": 5888, "url": "http://patchwork.ozlabs.org/api/people/5888/?format=api", "name": "Horst Kronstorfer", "email": "hkronsto@frequentis.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1342184620-31448-1-git-send-email-hkronsto@frequentis.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/170899/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/170899/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 60B0B2C0361\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 13 Jul 2012 23:38:34 +1000 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 8179828148;\n\tFri, 13 Jul 2012 15:38:30 +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 CsRqBmiqRj3H; Fri, 13 Jul 2012 15:38:30 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B5D4D28138;\n\tFri, 13 Jul 2012 15:38:22 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 09CE028138\n\tfor <u-boot@lists.denx.de>; Fri, 13 Jul 2012 15:38:20 +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 LveeLjkeEV0P for <u-boot@lists.denx.de>;\n\tFri, 13 Jul 2012 15:38:19 +0200 (CEST)", "from m3f4.kronos.net (178-190-203-50.adsl.highway.telekom.at\n\t[178.190.203.50])\n\tby theia.denx.de (Postfix) with ESMTPS id 309E328132\n\tfor <u-boot@lists.denx.de>; Fri, 13 Jul 2012 15:38:17 +0200 (CEST)", "from m3f4.kronos.net (m3f4.kronos.net [127.0.0.1])\n\tby m3f4.kronos.net (8.14.5/8.14.5) with ESMTP id q6DD3hAP031523;\n\tFri, 13 Jul 2012 15:03:43 +0200", "(from mabuze@localhost)\n\tby m3f4.kronos.net (8.14.5/8.14.5/Submit) id q6DD3htF031522;\n\tFri, 13 Jul 2012 15:03:43 +0200" ], "X-Virus-Scanned": [ "Debian amavisd-new at theia.denx.de", "Debian amavisd-new at theia.denx.de" ], "X-Greylist": "delayed 2064 seconds by postgrey-1.27 at theia;\n\tFri, 13 Jul 2012 15:38:17 CEST", "X-policyd-weight": "IN_SBL_XBL_SPAMHAUS=4.35 NOT_IN_SPAMCOP=-1.5\n\tNOT_IN_BL_NJABL=-1.5 (only DNSBL check requested)", "From": "Horst Kronstorfer <hkronsto@frequentis.com>", "To": "u-boot@lists.denx.de", "Date": "Fri, 13 Jul 2012 15:03:40 +0200", "Message-Id": "<1342184620-31448-1-git-send-email-hkronsto@frequentis.com>", "X-Mailer": "git-send-email 1.7.11.2", "Subject": "[U-Boot] [PATCH] dts/Makefile: Turn off system-/gcc-specific\n\tpredefined macros", "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": "Add '-undef' to DTS_CPPFLAGS to avoid unwanted expansion of dts content\nthat matches system-specific or gcc-specific predefined macros.\n\nExample: A number of PowerPC related *.dts files in the kernel define a\nproperty named 'linux,network-index' which (w/o '-undef') is expanded to\n'1,network-index' by the preprocessor because of '#define linux 1.'\n\nWith '-undef' in place only the standard predefined macros are visible:\n\n $ gcc -dM -E -undef - </dev/null\n #define __STDC_HOSTED__ 1\n #define __STDC__ 1\n\nSigned-off-by: Horst Kronstorfer <hkronsto@frequentis.com>\n---\n dts/Makefile | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/dts/Makefile b/dts/Makefile\nindex 402dfe1..3c6bc18 100644\n--- a/dts/Makefile\n+++ b/dts/Makefile\n@@ -36,7 +36,7 @@ $(error Your architecture does not have device tree support enabled. \\\n Please define CONFIG_ARCH_DEVICE_TREE))\n \n # We preprocess the device tree file provide a useful define\n-DTS_CPPFLAGS := -DARCH_CPU_DTS=\\\"$(SRCTREE)/arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\\\"\n+DTS_CPPFLAGS := -undef -DARCH_CPU_DTS=\\\"$(SRCTREE)/arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\\\"\n \n all:\t$(obj).depend $(LIB)\n \n", "prefixes": [ "U-Boot" ] }