Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/175279/?format=api
{ "id": 175279, "url": "http://patchwork.ozlabs.org/api/patches/175279/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1344239199-11445-2-git-send-email-monstr@monstr.eu/", "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": "<1344239199-11445-2-git-send-email-monstr@monstr.eu>", "list_archive_url": null, "date": "2012-08-06T07:46:34", "name": "[U-Boot,v2,2/7] microblaze: board: Remove compilation warning", "commit_ref": "e35c05baa17fc049f32c675b6ee0aaa109980dcb", "pull_url": null, "state": "accepted", "archived": false, "hash": "d88440abf97d05073c4663e924365852a44d3493", "submitter": { "id": 2237, "url": "http://patchwork.ozlabs.org/api/people/2237/?format=api", "name": "Michal Simek", "email": "monstr@monstr.eu" }, "delegate": { "id": 1714, "url": "http://patchwork.ozlabs.org/api/users/1714/?format=api", "username": "vapier", "first_name": "Mike", "last_name": "Frysinger", "email": "vapier@gentoo.org" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/1344239199-11445-2-git-send-email-monstr@monstr.eu/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/175279/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/175279/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 161462C0098\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 6 Aug 2012 17:47:16 +1000 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id B41B42812F;\n\tMon, 6 Aug 2012 09:47:09 +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 fBILyKpnz2Jv; Mon, 6 Aug 2012 09:47:09 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 27BD028131;\n\tMon, 6 Aug 2012 09:47:02 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 027D4280AD\n\tfor <u-boot@lists.denx.de>; Mon, 6 Aug 2012 09:46:59 +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 lQJVmodBzJOR for <u-boot@lists.denx.de>;\n\tMon, 6 Aug 2012 09:46:55 +0200 (CEST)", "from mail-wi0-f174.google.com (mail-wi0-f174.google.com\n\t[209.85.212.174])\n\tby theia.denx.de (Postfix) with ESMTPS id BD16F280B6\n\tfor <u-boot@lists.denx.de>; Mon, 6 Aug 2012 09:46:54 +0200 (CEST)", "by wibhr14 with SMTP id hr14so1167593wib.9\n\tfor <u-boot@lists.denx.de>; Mon, 06 Aug 2012 00:46:54 -0700 (PDT)", "by 10.180.97.33 with SMTP id dx1mr16121648wib.18.1344239213922;\n\tMon, 06 Aug 2012 00:46:53 -0700 (PDT)", "from localhost (nat-2.starnet.cz. [92.62.224.2])\n\tby mx.google.com with ESMTPS id l6sm14262409wiz.4.2012.08.06.00.46.52\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tMon, 06 Aug 2012 00:46:53 -0700 (PDT)" ], "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-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=google.com; s=20120113;\n\th=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references\n\t:x-gm-message-state;\n\tbh=QXbkYCCXmzcptM8mjTS0WABXD2En4eyJ/fGDGPz0WgY=;\n\tb=iGcbzDOrFlNpGykD36KD9Zi6uODOnMoisZfMRnr9+aXYZd2eUG20BJLKr9+9a2ctyd\n\tk5p72zsDnqJvRfMPAUIwNVM6CPDR5rDLmpYWbfB4MtlZvEXgt3dla9905LLCaU290Jlv\n\tE1eSQkEYuo/ttpyYPNd3oPIbunlZAePWX1Y9/sNSbJaOiFA122F1GxNsiT6qOd4Y8Hyb\n\tymMg9qxByubw98XBREfzIE96URObvhacmnmOz1NTQ/OMz9G5XTejgk3CC/VGSS5uKwNS\n\t3HFNZeJpQIG0PkzhrjdYmZYsia89tMiVUR8HxN+6FPyq0JY68iGBoN5VuHXFypn1tgl8\n\t9GMw==", "From": "Michal Simek <monstr@monstr.eu>", "To": "u-boot@lists.denx.de", "Date": "Mon, 6 Aug 2012 09:46:34 +0200", "Message-Id": "<1344239199-11445-2-git-send-email-monstr@monstr.eu>", "X-Mailer": "git-send-email 1.7.0.4", "In-Reply-To": "<1344239199-11445-1-git-send-email-monstr@monstr.eu>", "References": "<1344239199-11445-1-git-send-email-monstr@monstr.eu>", "X-Gm-Message-State": "ALoCoQm/6juDjPNXjj734hOdvRCCNj/OAnMvsOQA9SYeD4q4+oiXt8Dl4kJKy+L6AxwQNMQuRgP5", "Cc": "linz@li-pro.net", "Subject": "[U-Boot] [PATCH v2 2/7] microblaze: board: Remove compilation\n\twarning", "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": "Variable is used when CONFIG_SYS_FLASH_CHECKSUM is used.\n\nWarning log:\nboard.c: In function 'board_init':\nboard.c:101: warning: unused variable 's'\n\nSigned-off-by: Michal Simek <monstr@monstr.eu>\n\n---\nv2: Use __mabe_unused prefix\n---\n arch/microblaze/lib/board.c | 3 ++-\n 1 files changed, 2 insertions(+), 1 deletions(-)", "diff": "diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c\nindex 942e18c..b5f21d8 100644\n--- a/arch/microblaze/lib/board.c\n+++ b/arch/microblaze/lib/board.c\n@@ -32,6 +32,7 @@\n #include <stdio_dev.h>\n #include <serial.h>\n #include <net.h>\n+#include <linux/compiler.h>\n #include <asm/processor.h>\n #include <asm/microblaze_intc.h>\n #include <fdtdec.h>\n@@ -91,7 +92,7 @@ void board_init (void)\n \tgd = (gd_t *) (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET);\n \tbd = (bd_t *) (CONFIG_SYS_SDRAM_BASE + CONFIG_SYS_GBL_DATA_OFFSET \\\n \t\t\t\t\t\t- GENERATED_BD_INFO_SIZE);\n-\tchar *s;\n+\t__maybe_unused char *s;\n #if defined(CONFIG_CMD_FLASH)\n \tulong flash_size = 0;\n #endif\n", "prefixes": [ "U-Boot", "v2", "2/7" ] }