Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/908916/?format=api
{ "id": 908916, "url": "http://patchwork.ozlabs.org/api/patches/908916/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/patch/3bed5776fc449a3826445486dcf15e1fb0d6577b.1525453826.git.sandeepsheriker.mallikarjun@microchip.com/", "project": { "id": 54, "url": "http://patchwork.ozlabs.org/api/projects/54/?format=api", "name": "LEDE development", "link_name": "lede", "list_id": "lede-dev.lists.infradead.org", "list_email": "lede-dev@lists.infradead.org", "web_url": "http://lede-project.org/", "scm_url": "", "webscm_url": "http://git.lede-project.org/", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<3bed5776fc449a3826445486dcf15e1fb0d6577b.1525453826.git.sandeepsheriker.mallikarjun@microchip.com>", "list_archive_url": null, "date": "2018-05-04T17:27:46", "name": "[LEDE-DEV,v2,04/10] kernel: fix build error for external kernel.", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "b05b4a0e550222637273fc5c44527feb8a0d2914", "submitter": { "id": 72359, "url": "http://patchwork.ozlabs.org/api/people/72359/?format=api", "name": "Sandeep Sheriker", "email": "sandeepsheriker.mallikarjun@microchip.com" }, "delegate": { "id": 54613, "url": "http://patchwork.ozlabs.org/api/users/54613/?format=api", "username": "blogic", "first_name": "John", "last_name": "Crispin", "email": "blogic@openwrt.org" }, "mbox": "http://patchwork.ozlabs.org/project/lede/patch/3bed5776fc449a3826445486dcf15e1fb0d6577b.1525453826.git.sandeepsheriker.mallikarjun@microchip.com/mbox/", "series": [ { "id": 42656, "url": "http://patchwork.ozlabs.org/api/series/42656/?format=api", "web_url": "http://patchwork.ozlabs.org/project/lede/list/?series=42656", "date": "2018-05-04T17:27:42", "name": "at91 patch series", "version": 2, "mbox": "http://patchwork.ozlabs.org/series/42656/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/908916/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/908916/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org\n\t(client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=microchip.com", "ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"bQ2PJ7ft\"; \n\tdkim-atps=neutral" ], "Received": [ "from bombadil.infradead.org (bombadil.infradead.org\n\t[IPv6:2607:7c80:54:e::133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 40czcb3TnHz9s35\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSat, 5 May 2018 03:33:03 +1000 (AEST)", "from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux))\n\tid 1fEeZm-0008FQ-OP; Fri, 04 May 2018 17:32:58 +0000", "from esa2.microchip.iphmx.com ([68.232.149.84])\n\tby bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat\n\tLinux)) id 1fEeVn-00054q-FC\n\tfor lede-dev@lists.infradead.org; Fri, 04 May 2018 17:28:53 +0000", "from smtpout.microchip.com (HELO email.microchip.com)\n\t([198.175.253.82])\n\tby esa2.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA;\n\t04 May 2018 10:28:26 -0700", "from sandeep-office.microchip.com (10.10.76.4) by\n\tchn-sv-exch02.mchp-main.com (10.10.76.38) with Microsoft SMTP Server\n\tid 14.3.352.0; Fri, 4 May 2018 10:28:25 -0700" ], "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:Subject:MIME-Version:References:\n\tIn-Reply-To:Message-ID:Date:To:From:Reply-To:Cc:Content-ID:\n\tContent-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc\n\t:Resent-Message-ID:List-Owner;\n\tbh=Xbce41rN+mE42XE/odaUqQVJHAzuodqep/oNRVPF6Uw=;\n\tb=bQ2PJ7ftH8omhBbStqIh3q1SU/\n\t4P0OlqHZPwj1zRI6r5O2rYn7sIMs4C9lyCgHXwOR+2mPpgdS3s/sVEOrZIM+vELu5zwNy4OgAepts\n\tYsuE27X/ZOii9Sc/jkrL+jbSySPrhT93ab25a/BTFrn9yM/LYb1qf+rC551hjdV9KEurrt0zN2JvL\n\tWD8MroOjqhy1LDUMxpsKlbQC14Bc3o1GP8sk9+ahi3ezFClgHQ+qmzJWHsg2wV4s9iwfXe0eIKcQK\n\tswbkW0yBxF2jk0SFOy3IJyRt8a+Cf3SHxtBvgHYZ8JCgt8bzQV+wFPsJRHk15Uf7j7/7Bco/UwErP\n\txLB/N8Lg==;", "X-IronPort-AV": "E=Sophos;i=\"5.49,363,1520924400\"; d=\"scan'208\";a=\"13809130\"", "From": "Sandeep Sheriker Mallikarjun\n\t<sandeepsheriker.mallikarjun@microchip.com>", "To": "<lede-dev@lists.infradead.org>", "Date": "Fri, 4 May 2018 10:27:46 -0700", "Message-ID": "<3bed5776fc449a3826445486dcf15e1fb0d6577b.1525453826.git.sandeepsheriker.mallikarjun@microchip.com>", "X-Mailer": "git-send-email 2.7.4", "In-Reply-To": "<cover.1525453825.git.sandeepsheriker.mallikarjun@microchip.com>", "References": "<cover.1525453825.git.sandeepsheriker.mallikarjun@microchip.com>", "MIME-Version": "1.0", "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ", "X-CRM114-CacheID": "sfid-20180504_102851_601424_D3C52244 ", "X-CRM114-Status": "UNSURE ( 7.44 )", "X-CRM114-Notice": "Please train this message.", "X-Spam-Score": "-0.7 (/)", "X-Spam-Report": "SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details: (-0.7 points)\n\tpts rule name description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/,\n\tlow trust [68.232.149.84 listed in list.dnswl.org]\n\t-0.0 SPF_PASS SPF: sender matches SPF record", "Subject": "[LEDE-DEV] [PATCH v2 04/10] kernel: fix build error for external\n\tkernel.", "X-BeenThere": "lede-dev@lists.infradead.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<lede-dev.lists.infradead.org>", "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>", "List-Archive": "<http://lists.infradead.org/pipermail/lede-dev/>", "List-Post": "<mailto:lede-dev@lists.infradead.org>", "List-Help": "<mailto:lede-dev-request@lists.infradead.org?subject=help>", "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>", "Errors-To": "lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org" }, "content": "fixed build error when external kernel is selected from menuconfig.\nThe patches present in target/linux/generic does not gets applied\nto external kernel and build fails while compiling mac82011 &\nregmap-core kernel modules. as a fix added check in Makefile for\nCONFIG_EXTERNAL_KERNEL_TREE present or not.\n\nSigned-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@microchip.com>\n---\n package/kernel/linux/modules/other.mk | 6 +++++-\n package/kernel/mac80211/Makefile | 15 ++++++++++-----\n 2 files changed, 15 insertions(+), 6 deletions(-)", "diff": "diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk\nindex 4aee820..11f28f4 100644\n--- a/package/kernel/linux/modules/other.mk\n+++ b/package/kernel/linux/modules/other.mk\n@@ -707,11 +707,15 @@ define KernelPackage/regmap\n \t CONFIG_REGMAP_I2C \\\n \t CONFIG_SPI=y\n FILES:= \\\n-\t$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko \\\n \t$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \\\n \t$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko \\\n \t$(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko)\n AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-mmio regmap-spi)\n+ ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),\"\")\n+ ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),\"\")\n+ FILES += $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko\n+ endif\n+ endif\n endef\n \n define KernelPackage/regmap/description\ndiff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile\nindex f3e4d79..dc198eb 100644\n--- a/package/kernel/mac80211/Makefile\n+++ b/package/kernel/mac80211/Makefile\n@@ -1797,11 +1797,16 @@ ifneq ($(CONFIG_PACKAGE_kmod-cfg80211)$(CONFIG_PACKAGE_kmod-lib80211),)\n endef\n endif\n \n-define Build/Configure\n-\tcmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h\n-\tcmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h\n-\tcmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h\n-endef\n+#do not Build/Configure for EXTERNAL KERNEL\n+ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),\"\")\n+ ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),\"\")\n+ define Build/Configure\n+\t cmp $(PKG_BUILD_DIR)/include/linux/ath9k_platform.h $(LINUX_DIR)/include/linux/ath9k_platform.h\n+\t cmp $(PKG_BUILD_DIR)/include/linux/ath5k_platform.h $(LINUX_DIR)/include/linux/ath5k_platform.h\n+\t cmp $(PKG_BUILD_DIR)/include/linux/rt2x00_platform.h $(LINUX_DIR)/include/linux/rt2x00_platform.h\n+ endef\n+ endif\n+endif\n \n define Build/Compile\n \t$(SH_FUNC) var2file \"$(call shvar,mac80211_config)\" $(PKG_BUILD_DIR)/.config\n", "prefixes": [ "LEDE-DEV", "v2", "04/10" ] }