Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/175806/?format=api
{ "id": 175806, "url": "http://patchwork.ozlabs.org/api/patches/175806/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/1344374979-4922-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": "<1344374979-4922-1-git-send-email-linz@li-pro.net>", "list_archive_url": null, "date": "2012-08-07T21:29:39", "name": "[U-Boot] spi: xilinx: Remove unused variable", "commit_ref": "03afad2fc90dcff42402b0183f4b4f5119f99a18", "pull_url": null, "state": "accepted", "archived": false, "hash": "8c485102913420553f710e75c9044f46b0a68915", "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/1344374979-4922-1-git-send-email-linz@li-pro.net/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/175806/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/175806/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 3ECEB2C0095\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed, 8 Aug 2012 07:29:51 +1000 (EST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id ACC9E28128;\n\tTue, 7 Aug 2012 23:29:47 +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 g2BsZpNISHGX; Tue, 7 Aug 2012 23:29:47 +0200 (CEST)", "from theia.denx.de (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 12FA72812B;\n\tTue, 7 Aug 2012 23:29:46 +0200 (CEST)", "from localhost (localhost [127.0.0.1])\n\tby theia.denx.de (Postfix) with ESMTP id 031872812B\n\tfor <u-boot@lists.denx.de>; Tue, 7 Aug 2012 23:29:44 +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 gci32oET-TC0 for <u-boot@lists.denx.de>;\n\tTue, 7 Aug 2012 23:29:43 +0200 (CEST)", "from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.160])\n\tby theia.denx.de (Postfix) with ESMTPS id 0198928128\n\tfor <u-boot@lists.denx.de>; Tue, 7 Aug 2012 23:29:41 +0200 (CEST)", "from localhost.localdomain (i5E86D126.versanet.de [94.134.209.38])\n\tby smtp.strato.de (jored mo78) (RZmta 30.7 AUTH)\n\twith ESMTPA id P04172o77H7LHR ; Tue, 7 Aug 2012 23:29:40 +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+obYoyYKj3hA=", "X-RZG-CLASS-ID": "mo00", "From": "Stephan Linz <linz@li-pro.net>", "To": "u-boot@lists.denx.de", "Date": "Tue, 7 Aug 2012 23:29:39 +0200", "Message-Id": "<1344374979-4922-1-git-send-email-linz@li-pro.net>", "X-Mailer": "git-send-email 1.7.0.4", "Cc": "Stephan Linz <linz@li-pro.net>", "Subject": "[U-Boot] [PATCH] spi: xilinx: Remove unused variable", "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": "Warning is:\n\nxilinx_spi.c: In function 'spi_setup_slave':\nxilinx_spi.c:81: warning: unused variable 'regs'\n\nSigned-off-by: Stephan Linz <linz@li-pro.net>\nCC: Michal Simek <monstr@monstr.eu>\n---\n drivers/spi/xilinx_spi.c | 1 -\n 1 files changed, 0 insertions(+), 1 deletions(-)", "diff": "diff --git a/drivers/spi/xilinx_spi.c b/drivers/spi/xilinx_spi.c\nindex e563c19..52a4134 100644\n--- a/drivers/spi/xilinx_spi.c\n+++ b/drivers/spi/xilinx_spi.c\n@@ -78,7 +78,6 @@ struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs,\n \t\t\t\t unsigned int max_hz, unsigned int mode)\n {\n \tstruct xilinx_spi_slave *xilspi;\n-\tstruct xilinx_spi_reg *regs;\n \n \tif (!spi_cs_is_valid(bus, cs)) {\n \t\tprintf(\"XILSPI error: %s: unsupported bus %d / cs %d\\n\",\n", "prefixes": [ "U-Boot" ] }