Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/186/?format=api
{ "id": 186, "url": "http://patchwork.ozlabs.org/api/patches/186/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/200809051636.26545.hannes.hering@gmx.de/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<200809051636.26545.hannes.hering@gmx.de>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/200809051636.26545.hannes.hering@gmx.de/", "date": "2008-09-05T14:36:26", "name": "ehea: Fix DLPAR memory handling", "commit_ref": "70666c71957b62c8e9ea5c0d999a4bfd214c80d2", "pull_url": null, "state": "handled-elsewhere", "archived": true, "hash": "21fb733287eeb4851d2011fe0ec406df19958634", "submitter": { "id": 110, "url": "http://patchwork.ozlabs.org/api/people/110/?format=api", "name": "Hannes Hering", "email": "hannes.hering@gmx.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/200809051636.26545.hannes.hering@gmx.de/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/186/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/186/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org>", "X-Original-To": [ "patchwork@ozlabs.org", "linuxppc-dev@ozlabs.org" ], "Delivered-To": [ "patchwork@ozlabs.org", "linuxppc-dev@ozlabs.org" ], "Received": [ "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id C99A8DE00D\n\tfor <patchwork@ozlabs.org>; Sat, 6 Sep 2008 00:47:59 +1000 (EST)", "from mtagate2.de.ibm.com (mtagate2.de.ibm.com [195.212.17.162])\n\t(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\n\t(Client CN \"mtagate2.de.ibm.com\", Issuer \"Equifax\" (verified OK))\n\tby ozlabs.org (Postfix) with ESMTPS id A9AE6DDF5F\n\tfor <linuxppc-dev@ozlabs.org>; Sat, 6 Sep 2008 00:36:37 +1000 (EST)", "from d12nrmr1607.megacenter.de.ibm.com\n\t(d12nrmr1607.megacenter.de.ibm.com [9.149.167.49])\n\tby mtagate2.de.ibm.com (8.13.1/8.13.1) with ESMTP id m85EaWEC001882\n\tfor <linuxppc-dev@ozlabs.org>; Fri, 5 Sep 2008 14:36:32 GMT", "from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com\n\t[9.149.165.228])\n\tby d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v9.0) with\n\tESMTP id m85EaVAT3506234\n\tfor <linuxppc-dev@ozlabs.org>; Fri, 5 Sep 2008 16:36:31 +0200", "from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1])\n\tby d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP\n\tid m85EaRqp002922\n\tfor <linuxppc-dev@ozlabs.org>; Fri, 5 Sep 2008 16:36:27 +0200", "from dyn-9-152-217-94.boeblingen.de.ibm.com\n\t(dyn-9-152-217-94.boeblingen.de.ibm.com [9.152.217.94])\n\tby d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with\n\tESMTP id m85EaRAD002912; Fri, 5 Sep 2008 16:36:27 +0200" ], "From": "Hannes Hering <hannes.hering@gmx.de>", "Subject": "[PATCH 1/2] ehea: Fix DLPAR memory handling", "Date": "Fri, 5 Sep 2008 16:36:26 +0200", "User-Agent": "KMail/1.9.9", "MIME-Version": "1.0", "Content-Disposition": "inline", "To": "jeff@garzik.org", "Message-Id": "<200809051636.26545.hannes.hering@gmx.de>", "X-Mailman-Approved-At": "Sat, 06 Sep 2008 00:47:17 +1000", "Cc": "themann@de.ibm.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org,\n\traisch@de.ibm.com, ossrosch@linux.vnet.ibm.com,\n\tlinuxppc-dev@ozlabs.org, ossthema@de.ibm.com, osstklei@de.ibm.com", "X-BeenThere": "linuxppc-dev@ozlabs.org", "X-Mailman-Version": "2.1.11", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List <linuxppc-dev.ozlabs.org>", "List-Unsubscribe": "<https://ozlabs.org/mailman/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://ozlabs.org/pipermail/linuxppc-dev>", "List-Post": "<mailto:linuxppc-dev@ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@ozlabs.org?subject=help>", "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@ozlabs.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org", "Errors-To": "linuxppc-dev-bounces+patchwork=ozlabs.org@ozlabs.org" }, "content": "The ehea busmap must be allocated only once in the first of many calls of the\nehea_create_busmap_callback.\n\nSigned-off-by: Hannes Hering <hering2@de.ibm.com>", "diff": "diff -Nurp -X dontdiff linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c patched_kernel/drivers/net/ehea/ehea_qmr.c\n--- linux-2.6.27-rc5/drivers/net/ehea/ehea_qmr.c\t2008-08-29 00:52:02.000000000 +0200\n+++ patched_kernel/drivers/net/ehea/ehea_qmr.c\t2008-09-05 15:31:30.000000000 +0200\n@@ -595,7 +595,8 @@ static int ehea_create_busmap_callback(u\n \tend_section = start_section + ((nr_pages * PAGE_SIZE) / EHEA_SECTSIZE);\n \tmr_len = *(unsigned long *)arg;\n \n-\tehea_bmap = kzalloc(sizeof(struct ehea_bmap), GFP_KERNEL);\n+\tif (!ehea_bmap)\n+\t\tehea_bmap = kzalloc(sizeof(struct ehea_bmap), GFP_KERNEL);\n \tif (!ehea_bmap)\n \t\treturn -ENOMEM;\n \n", "prefixes": [] }