Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/274/?format=api
{ "id": 274, "url": "http://patchwork.ozlabs.org/api/patches/274/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-mtd/patch/1221390552.25179.14.camel@Mikeul/", "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": "<1221390552.25179.14.camel@Mikeul>", "list_archive_url": null, "date": "2008-09-14T11:09:12", "name": "gen_probe.c: Probe chips in decreasing device size (most significant first)", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": false, "hash": "cf73af5722b0e250c60bc6ef23693c3254aebb21", "submitter": { "id": 139, "url": "http://patchwork.ozlabs.org/api/people/139/?format=api", "name": "Michel Stempin", "email": "michel.stempin@telecom-design.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-mtd/patch/1221390552.25179.14.camel@Mikeul/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/274/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/274/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 D4308DDEEB\n\tfor <patchwork@ozlabs.org>; Sun, 14 Sep 2008 21:10:00 +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 1KepTu-0001iL-3x; Sun, 14 Sep 2008 11:09:30 +0000", "from [212.234.111.251] (helo=mail.telecom-design.com)\n\tby bombadil.infradead.org with esmtp (Exim 4.68 #1 (Red Hat Linux))\n\tid 1KepTn-0001X9-PY\n\tfor linux-mtd@lists.infradead.org; Sun, 14 Sep 2008 11:09:25 +0000", "(from uucp@localhost) by mail.telecom-design.com id m8EB9KFr004564\n\tfor <linux-mtd@lists.infradead.org>;\n\tSun, 14 Sep 2008 13:09:20 +0200", "from A by B ; Sun, 14 Sep 2008 11:09:16 +0000", "from A by B ; Sun, 14 Sep 2008 11:09:16 +0000", "from A by B ; 14 Sep 2008 13:09:12 +0200" ], "Subject": "[PATCH] [MTD] gen_probe.c: Probe chips in decreasing device size\n\t(most significant first)", "From": "Michel Stempin <michel.stempin@telecom-design.com>", "To": "linux-mtd@lists.infradead.org", "Date": "Sun, 14 Sep 2008 13:09:12 +0200", "Message-Id": "<1221390552.25179.14.camel@Mikeul>", "Mime-Version": "1.0", "X-Mailer": "Evolution 2.22.3.1 ", "X-Spam-Score": "0.1 (/)", "X-Spam-Report": "SpamAssassin version 3.2.5 on bombadil.infradead.org summary:\n\tContent analysis details: (0.1 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS", "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>", "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": "Probe chips in decreasing device size to detect most significant chip\nIDs first in case there are two chips with the same LSB.\n\nThis case has been found between SST39VF3201 (Mfr: 0x0020, Id: 0x235B)\nand SST49LF080A (Mfr: 0x0020, Id: 0x005B) chips.\n\nSigned-off-by: Michel Stempin <michel.stempin@wanadoo.fr>", "diff": "diff --git a/drivers/mtd/chips/gen_probe.c\nb/drivers/mtd/chips/gen_probe.c\nindex f061885..d1875f8 100644\n--- a/drivers/mtd/chips/gen_probe.c\n+++ b/drivers/mtd/chips/gen_probe.c\n@@ -170,7 +170,7 @@ static int genprobe_new_chip(struct map_info *map,\nstruct chip_probe *cp,\n {\n int min_chips = (map_bankwidth(map)/4?:1); /* At most 4-bytes\nwide. */\n int max_chips = map_bankwidth(map); /* And minimum 1 */\n- int nr_chips, type;\n+ int nr_chips, min_type, type;\n \n", "prefixes": [] }