Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/948/?format=api
{ "id": 948, "url": "http://patchwork.ozlabs.org/api/patches/948/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/200809222110.m8MLAJJ8029885@imap1.linux-foundation.org/", "project": { "id": 7, "url": "http://patchwork.ozlabs.org/api/projects/7/?format=api", "name": "Linux network development", "link_name": "netdev", "list_id": "netdev.vger.kernel.org", "list_email": "netdev@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<200809222110.m8MLAJJ8029885@imap1.linux-foundation.org>", "list_archive_url": null, "date": "2008-09-22T21:10:19", "name": "[for,2.6.27?,05/10] ehea: fix DLPAR memory handling", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "665bb3282bb38bde4d76ddb0962feba690d5a7f7", "submitter": { "id": 107, "url": "http://patchwork.ozlabs.org/api/people/107/?format=api", "name": "Andrew Morton", "email": "akpm@linux-foundation.org" }, "delegate": { "id": 36, "url": "http://patchwork.ozlabs.org/api/users/36/?format=api", "username": "jgarzik", "first_name": "Jeff", "last_name": "Garzik", "email": "jgarzik@pobox.com" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/200809222110.m8MLAJJ8029885@imap1.linux-foundation.org/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/948/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/948/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.176.167])\n\tby ozlabs.org (Postfix) with ESMTP id DE674DDEFD\n\tfor <patchwork-incoming@ozlabs.org>;\n\tTue, 23 Sep 2008 07:16:54 +1000 (EST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754340AbYIVVQi (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tMon, 22 Sep 2008 17:16:38 -0400", "(majordomo@vger.kernel.org) by vger.kernel.org id S1754339AbYIVVQi\n\t(ORCPT <rfc822; netdev-outgoing>); Mon, 22 Sep 2008 17:16:38 -0400", "from smtp1.linux-foundation.org ([140.211.169.13]:49146 \"EHLO\n\tsmtp1.linux-foundation.org\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1753277AbYIVVQh (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Mon, 22 Sep 2008 17:16:37 -0400", "from imap1.linux-foundation.org (imap1.linux-foundation.org\n\t[140.211.169.55])\n\tby smtp1.linux-foundation.org (8.14.2/8.13.5/Debian-3ubuntu1.1) with\n\tESMTP id m8MLDDuF014806\n\t(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);\n\tMon, 22 Sep 2008 14:13:59 -0700", "from localhost.localdomain (localhost [127.0.0.1])\n\tby imap1.linux-foundation.org\n\t(8.13.5.20060308/8.13.5/Debian-3ubuntu1.1) with ESMTP id\n\tm8MLAJJ8029885; Mon, 22 Sep 2008 14:10:19 -0700" ], "Message-Id": "<200809222110.m8MLAJJ8029885@imap1.linux-foundation.org>", "Subject": "[patch for 2.6.27? 05/10] ehea: fix DLPAR memory handling", "To": "jeff@garzik.org", "Cc": "netdev@vger.kernel.org, akpm@linux-foundation.org,\n\thannes.hering@gmx.de, hering2@de.ibm.com", "From": "akpm@linux-foundation.org", "Date": "Mon, 22 Sep 2008 14:10:19 -0700", "X-Spam-Status": "No, hits=-3.358 required=5 tests=AWL, BAYES_00,\n\tOSDL_HEADER_SUBJECT_BRACKETED", "X-Spam-Checker-Version": "SpamAssassin 3.2.4-osdl_revision__1.47__", "X-MIMEDefang-Filter": "lf$Revision: 1.188 $", "X-Scanned-By": "MIMEDefang 2.63 on 140.211.169.13", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "From: Hannes Hering <hannes.hering@gmx.de>\n\nThe 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>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\n---\n\n drivers/net/ehea/ehea_qmr.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)", "diff": "diff -puN drivers/net/ehea/ehea_qmr.c~ehea-fix-dlpar-memory-handling drivers/net/ehea/ehea_qmr.c\n--- a/drivers/net/ehea/ehea_qmr.c~ehea-fix-dlpar-memory-handling\n+++ a/drivers/net/ehea/ehea_qmr.c\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": [ "for", "2.6.27?", "05/10" ] }