Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/807211/?format=api
{ "id": 807211, "url": "http://patchwork.ozlabs.org/api/patches/807211/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/patch/20170829174622.GA25926@kroah.com/", "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": "<20170829174622.GA25926@kroah.com>", "list_archive_url": null, "date": "2017-08-29T17:46:22", "name": "[v2,net-next] irda: fix link order if IRDA is built into the kernel", "commit_ref": null, "pull_url": null, "state": "rfc", "archived": true, "hash": "26948fe4a942629aee9ed66a18dc267d7aeaa17c", "submitter": { "id": 11800, "url": "http://patchwork.ozlabs.org/api/people/11800/?format=api", "name": "Greg Kroah-Hartman", "email": "gregkh@linuxfoundation.org" }, "delegate": { "id": 34, "url": "http://patchwork.ozlabs.org/api/users/34/?format=api", "username": "davem", "first_name": "David", "last_name": "Miller", "email": "davem@davemloft.net" }, "mbox": "http://patchwork.ozlabs.org/project/netdev/patch/20170829174622.GA25926@kroah.com/mbox/", "series": [ { "id": 424, "url": "http://patchwork.ozlabs.org/api/series/424/?format=api", "web_url": "http://patchwork.ozlabs.org/project/netdev/list/?series=424", "date": "2017-08-29T17:46:22", "name": "[v2,net-next] irda: fix link order if IRDA is built into the kernel", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/424/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/807211/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/807211/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<netdev-owner@vger.kernel.org>", "X-Original-To": "patchwork-incoming@ozlabs.org", "Delivered-To": "patchwork-incoming@ozlabs.org", "Authentication-Results": "ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)", "Received": [ "from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xhbfZ6LHQz9t2Q\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 30 Aug 2017 03:46:30 +1000 (AEST)", "(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751263AbdH2RqS (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tTue, 29 Aug 2017 13:46:18 -0400", "from mail.linuxfoundation.org ([140.211.169.12]:53266 \"EHLO\n\tmail.linuxfoundation.org\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1750909AbdH2RqQ (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Tue, 29 Aug 2017 13:46:16 -0400", "from localhost (LFbn-1-12253-150.w90-92.abo.wanadoo.fr\n\t[90.92.67.150])\n\tby mail.linuxfoundation.org (Postfix) with ESMTPSA id ED97FB08;\n\tTue, 29 Aug 2017 17:46:15 +0000 (UTC)" ], "Date": "Tue, 29 Aug 2017 19:46:22 +0200", "From": "Greg KH <gregkh@linuxfoundation.org>", "To": "David Miller <davem@davemloft.net>", "Cc": "devel@driverdev.osuosl.org, netdev@vger.kernel.org,\n\tsamuel@sortiz.org, linux-kernel@vger.kernel.org,\n\tkernel test robot <fengguang.wu@intel.com>,\n\tGeert Uytterhoeven <geert@linux-m68k.org>", "Subject": "[PATCH v2 net-next] irda: fix link order if IRDA is built into the\n\tkernel", "Message-ID": "<20170829174622.GA25926@kroah.com>", "References": "<20170829070929.GA15824@kroah.com>\n\t<20170829091417.GA9481@kroah.com>\n\t<20170829.093507.2166038228205751885.davem@davemloft.net>\n\t<20170829172608.GA4700@kroah.com>\n\t<20170829173129.GA11029@kroah.com>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=us-ascii", "Content-Disposition": "inline", "In-Reply-To": "<20170829173129.GA11029@kroah.com>", "User-Agent": "Mutt/1.8.3 (2017-05-23)", "Sender": "netdev-owner@vger.kernel.org", "Precedence": "bulk", "List-ID": "<netdev.vger.kernel.org>", "X-Mailing-List": "netdev@vger.kernel.org" }, "content": "When moving the IRDA code out of net/ into drivers/staging/irda/net, the\nlink order changes when IRDA is built into the kernel. That causes a\nkernel crash at boot time as netfilter isn't initialized yet.\n\nTo fix this, build and link the irda networking code in the same exact\norder that it was previously before the move.\n\nReported-by: kernel test robot <fengguang.wu@intel.com>\nReported-by: Geert Uytterhoeven <geert@linux-m68k.org>\nSigned-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org\n---\nv2 - don't force irda to be a module, make the Makefiles put irda back\n where it was before in the link order.\n\n drivers/staging/Makefile | 1 -\n net/Makefile | 1 +\n 2 files changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/drivers/staging/Makefile b/drivers/staging/Makefile\nindex fced929a0e67..1192caa94435 100644\n--- a/drivers/staging/Makefile\n+++ b/drivers/staging/Makefile\n@@ -2,7 +2,6 @@\n \n obj-y\t\t\t\t+= media/\n obj-y\t\t\t\t+= typec/\n-obj-$(CONFIG_IRDA)\t\t+= irda/net/\n obj-$(CONFIG_IRDA)\t\t+= irda/drivers/\n obj-$(CONFIG_PRISM2_USB)\t+= wlan-ng/\n obj-$(CONFIG_COMEDI)\t\t+= comedi/\ndiff --git a/net/Makefile b/net/Makefile\nindex 3d3feff3643b..ddd059c3dfa4 100644\n--- a/net/Makefile\n+++ b/net/Makefile\n@@ -31,6 +31,7 @@ obj-$(CONFIG_NETROM)\t\t+= netrom/\n obj-$(CONFIG_ROSE)\t\t+= rose/\n obj-$(CONFIG_AX25)\t\t+= ax25/\n obj-$(CONFIG_CAN)\t\t+= can/\n+obj-$(CONFIG_IRDA)\t\t+= ../drivers/staging/irda/net/\n obj-$(CONFIG_BT)\t\t+= bluetooth/\n obj-$(CONFIG_SUNRPC)\t\t+= sunrpc/\n obj-$(CONFIG_AF_RXRPC)\t\t+= rxrpc/\n", "prefixes": [ "v2", "net-next" ] }