Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/275/?format=api
{ "id": 275, "url": "http://patchwork.ozlabs.org/api/patches/275/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/1221421205-17136-1-git-send-email-gerickson@nuovations.com/", "project": { "id": 3, "url": "http://patchwork.ozlabs.org/api/projects/3/?format=api", "name": "Linux MTD development", "link_name": "linux-mtd", "list_id": "linux-mtd.lists.infradead.org", "list_email": "linux-mtd@lists.infradead.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1221421205-17136-1-git-send-email-gerickson@nuovations.com>", "list_archive_url": null, "date": "2008-09-14T19:40:05", "name": "nandwrite: Eliminate Global Declaration Ambiguity", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": false, "hash": "5180fce72b5c72fa58bb6994ba9f26a57ac0f5f9", "submitter": { "id": 115, "url": "http://patchwork.ozlabs.org/api/people/115/?format=api", "name": "Grant Erickson", "email": "gerickson@nuovations.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/1221421205-17136-1-git-send-email-gerickson@nuovations.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/275/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/275/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linux-mtd-bounces+patchwork=ozlabs.org@lists.infradead.org>", "X-Original-To": "patchwork@ozlabs.org", "Delivered-To": "patchwork@ozlabs.org", "Received": [ "from bombadil.infradead.org (bombadil.infradead.org [18.85.46.34])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client did not present a certificate)\n\tby ozlabs.org (Postfix) with ESMTPS id E0242DDFE4\n\tfor <patchwork@ozlabs.org>; Mon, 15 Sep 2008 05:40:38 +1000 (EST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KexS8-0000KV-1H; Sun, 14 Sep 2008 19:40:12 +0000", "from relay02.pair.com ([209.68.5.16])\n\tby bombadil.infradead.org with smtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KexS3-0008Ow-Fr\n\tfor linux-mtd@lists.infradead.org; Sun, 14 Sep 2008 19:40:08 +0000", "(qmail 1951 invoked by uid 0); 14 Sep 2008 19:40:06 -0000", "from unknown (HELO localhost.localdomain) (unknown)\n\tby unknown with SMTP; 14 Sep 2008 19:40:06 -0000" ], "X-pair-Authenticated": "66.134.71.115", "From": "Grant Erickson <gerickson@nuovations.com>", "To": "linux-mtd@lists.infradead.org", "Subject": "[PATCH] [MTD-UTILS] nandwrite: Eliminate Global Declaration\n\tAmbiguity", "Date": "Sun, 14 Sep 2008 12:40:05 -0700", "Message-Id": "<1221421205-17136-1-git-send-email-gerickson@nuovations.com>", "X-Mailer": "git-send-email 1.6.0.1", "Organization": "Nuovation System Designs, LLC", "X-Spam-Score": "-1.0 (-)", "X-Spam-Report": "SpamAssassin version 3.2.5 on bombadil.infradead.org summary:\n\tContent analysis details: (-1.0 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [209.68.5.16 listed in list.dnswl.org]", "X-BeenThere": "linux-mtd@lists.infradead.org", "X-Mailman-Version": "2.1.9", "Precedence": "list", "List-Id": "Linux MTD discussion mailing list <linux-mtd.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/linux-mtd>", "List-Post": "<mailto:linux-mtd@lists.infradead.org>", "List-Help": "<mailto:linux-mtd-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/linux-mtd>,\n\t<mailto:linux-mtd-request@lists.infradead.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "linux-mtd-bounces@lists.infradead.org", "Errors-To": "linux-mtd-bounces+patchwork=ozlabs.org@lists.infradead.org" }, "content": "Eliminate ambiguity as to whether the static global 'img' is a\ncharacter pointer or a constant character pointer.\n\nSigned-off-by: Grant Erickson <gerickson@nuovations.com>", "diff": "diff --git a/nandwrite.c b/nandwrite.c\nindex fc23e85..af73aa8 100644\n--- a/nandwrite.c\n+++ b/nandwrite.c\n@@ -113,7 +113,8 @@ static void display_version (void)\n }\n \n static const char\t*standard_input = \"-\";\n-static const char\t*mtd_device, *img;\n+static const char\t*mtd_device;\n+static const char\t*img;\n static int\t\tmtdoffset = 0;\n static bool\t\tquiet = false;\n static bool\t\twriteoob = false;\n", "prefixes": [] }