From patchwork Fri Mar 9 18:55:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131215 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1341973lja; Fri, 9 Mar 2018 11:03:20 -0800 (PST) X-Google-Smtp-Source: AG47ELuDU/EbuGp2O88wHSHxbtgNz3yBAUlDo8Ila6SDFKUuflSdJLUzCIANR49md9FWzXfba0du X-Received: by 10.101.97.79 with SMTP id o15mr610601pgv.31.1520622200824; Fri, 09 Mar 2018 11:03:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622200; cv=none; d=google.com; s=arc-20160816; b=jsiX/pf2P2ac+AfE17VsrOvWvJTVxToVgH3niyLVzKYTAczyCJQA1+bVzSdzDqakEx J2e0tLIaIua6iHlTudUxGZa5M3eA69FjAH00FD3BqeeIIiD82AbMsC+M4vlU6T2Khba7 CW7WvgbxBxLi33k2GCyC/SqmTEuK6/nGg465Fo+gpmetZxwVexACRBXvStp4MKAAn4RY UBFHoeMgLEjsJnVYUaC+Xk2joGoOyNUyVjWpVNieyfDtlMMq+VIR1Fzm4LWuEMbgiuz6 kWYDOw/WwsgQV1UKLs6THVZBYuoOcqLvaGtkhmy0qHSRUb/j9yXj/nczqn+8hDUlIGsu jpkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:delivered-to:arc-authentication-results; bh=QoAF3Zh+N+j8Py0p49L3Qh0zBaXOsdTEmX3iSohQbgw=; b=FarcEy7GdFbVDDYXEFybr495UH2qgWAbmojfzZ0hRFZK06cznySJ+GiUDnjD2+PmC3 FNGD5MIiHbaFrtVPUkFYGcipyB0AVEq52HD+ABeImOMuXw5vr4wekzBqccXy6u6XMjmA NX2Zba2RZETBa+S72ltCW3nyBoUKnAewXVyCEPAwDLyjYxfcbkK3GLRQL/KELjba9moG 8eFB9W2+z7XIglwuNobNHH1LlWRG6bHSWeUIWPEfuwOOPp8WwSVwr9Zqk8UaBoYO7iL7 /yypP6R6iiwBo98MMeJhb0KSe3cP0UQQWVuFqTyBBNpT+rOKC7HI/QPKpX1rC3yUO/iv g7EA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a189si1113452pgc.123.2018.03.09.11.03.20; Fri, 09 Mar 2018 11:03:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A08FB78953; Fri, 9 Mar 2018 19:03:13 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mail.openembedded.org (Postfix) with ESMTP id 7168A78917 for ; Fri, 9 Mar 2018 19:02:55 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Mar 2018 11:02:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32651855" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:02:56 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:55:41 +0200 Message-Id: <20180309185614.31113-3-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> References: <20180309185614.31113-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 03/36] u-boot: refresh patches X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton The patch tool will apply patches by default with "fuzz", which is where if the hunk context isn't present but what is there is close enough, it will force the patch in. Whilst this is useful when there's just whitespace changes, when applied to source it is possible for a patch applied with fuzz to produce broken code which still compiles (see #10450). This is obviously bad. We'd like to eventually have do_patch() rejecting any fuzz on these grounds. For that to be realistic the existing patches with fuzz need to be rebased and reviewed. Signed-off-by: Ross Burton Signed-off-by: Alexander Kanavin --- .../recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) -- 2.16.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch index cea52b79e6a..ecaa1796a49 100644 --- a/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch +++ b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch @@ -5,15 +5,15 @@ Upstream-Status: Pending Signed-off-by: Ed Bartosh -diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig -index 4e2b705..b02ab1f 100644 ---- a/configs/MPC8315ERDB_defconfig -+++ b/configs/MPC8315ERDB_defconfig -@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y - CONFIG_CMD_I2C=y +Index: git/configs/MPC8315ERDB_defconfig +=================================================================== +--- git.orig/configs/MPC8315ERDB_defconfig ++++ git/configs/MPC8315ERDB_defconfig +@@ -12,6 +12,7 @@ CONFIG_CMD_PCI=y + CONFIG_CMD_SATA=y CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set +CONFIG_CMD_DHCP=y CONFIG_CMD_MII=y CONFIG_CMD_PING=y - CONFIG_CMD_EXT2=y + CONFIG_CMD_DATE=y