From patchwork Thu Mar 8 18:17:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131046 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp51892lja; Thu, 8 Mar 2018 10:26:38 -0800 (PST) X-Google-Smtp-Source: AG47ELs4tRdcilX+1YQquPaX7GSzmh2cHGtZQ7VG8hoeshZRocwS4hGdZi4UOW8OL+pbZwyhoFvs X-Received: by 2002:a17:902:70c5:: with SMTP id l5-v6mr4860762plt.13.1520533598505; Thu, 08 Mar 2018 10:26:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520533598; cv=none; d=google.com; s=arc-20160816; b=BhvplWYaVdssuQfa7RtHr7WodqkuuUZzq2bXf5TcWsC85bvFQ1S5IC7Swa1RQguRhd EXhLSb1PHMdhI8jGZwT1s8rqPx6Pw5B+dN591VKxGELl1cCPQEgIWirDgX7TkSki5C2r TeVL0D5avJPlfaJFT/gZWogef/l51c/Zf4eFI01lU0eSJboTn/gN/Cmhw6320jVGaKzI lfEmIpk+qeurghqnQZtCILY6EtdNFrZHEzLnpPND+f8BJgr8zhsfchjjJoIzJGmWimgk XREQXY8ZRW1zLnWJ/ruv6C+CcYx3flqFjhhGrFBZdWfNw9ndj2ocTS4JB53DfB8mJt3W Vgxg== 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=GrAEE8ze+qumkSWsHIlzeTAt+FOID2de4W9a4m7qEqU=; b=u95v054exN/adrqhpxlXpISvSrdOMYcJwJq6Di9X6DSYvZUYKJoiZqJUTJv2y85H+m MXjupEeghlG5vHx3I0sBo7yHc0ClzEF01J1pO4DPdOQOgxDF/WPwW5COvqiTblOK9G6Y YfytF/emeCr03x57jOgLeuPeNUZL6ZCqY7HSZz80DNOt5xO1kygbYdvoTxxaKro4Lkte NLkoYXLsNMN7EIaNxNK0zrUdLpmaTeNXlHfwiFKXd4Yqame1R5MwN04MBNCSwKybfIL9 83c1dbb5ETd8GGec0Ea4Xuwd2i3h9kXRt8BJaJ49ozjTTgpMG/NB9DzEnhJegWw+PdLh gq/Q== 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 a61-v6si4107960pla.271.2018.03.08.10.26.38; Thu, 08 Mar 2018 10:26:38 -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 2EECB789D9; Thu, 8 Mar 2018 18:25:22 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mail.openembedded.org (Postfix) with ESMTP id 8993978980 for ; Thu, 8 Mar 2018 18:25:01 +0000 (UTC) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 08 Mar 2018 10:25:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,441,1515484800"; d="scan'208";a="24053769" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by orsmga006.jf.intel.com with ESMTP; 08 Mar 2018 10:25:02 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Thu, 8 Mar 2018 20:17:35 +0200 Message-Id: <20180308181804.31261-13-alexander.kanavin@linux.intel.com> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> References: <20180308181804.31261-1-alexander.kanavin@linux.intel.com> Subject: [OE-core] [PATCH 13/42] kmod: 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 --- meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch | 13 +++++-------- meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch | 15 ++++++--------- 2 files changed, 11 insertions(+), 17 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-kernel/kmod/kmod/avoid_parallel_tests.patch b/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch index feafcb9b7c6..5f45fce932e 100644 --- a/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch +++ b/meta/recipes-kernel/kmod/kmod/avoid_parallel_tests.patch @@ -11,10 +11,10 @@ Upstream-Status: Inappropriate (disable feature incompatible with ptest) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/configure.ac b/configure.ac -index eb0f9d1..a539968 100644 ---- a/configure.ac -+++ b/configure.ac +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac ++++ git/configure.ac @@ -14,7 +14,7 @@ AC_USE_SYSTEM_EXTENSIONS AC_SYS_LARGEFILE AC_PREFIX_DEFAULT([/usr]) @@ -23,7 +23,4 @@ index eb0f9d1..a539968 100644 +AM_INIT_AUTOMAKE([check-news foreign 1.11 silent-rules tar-pax no-dist-gzip dist-xz subdir-objects color-tests serial-tests]) AM_SILENT_RULES([yes]) LT_INIT([disable-static pic-only]) - --- -1.9.1 - + DOLT diff --git a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch index 8161d6128d3..5d9d40c387f 100644 --- a/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch +++ b/meta/recipes-kernel/kmod/kmod/fix-O_CLOEXEC.patch @@ -18,12 +18,12 @@ Upstream-Status: Pending libkmod/libkmod-internal.h | 4 ++++ 1 file changed, 4 insertions(+) -diff --git a/libkmod/libkmod-internal.h b/libkmod/libkmod-internal.h -index 0180124..100b40f 100644 ---- a/libkmod/libkmod-internal.h -+++ b/libkmod/libkmod-internal.h -@@ -9,6 +9,10 @@ - #include "macro.h" +Index: git/libkmod/libkmod-internal.h +=================================================================== +--- git.orig/libkmod/libkmod-internal.h ++++ git/libkmod/libkmod-internal.h +@@ -10,6 +10,10 @@ + #include "libkmod.h" +#ifndef O_CLOEXEC @@ -33,6 +33,3 @@ index 0180124..100b40f 100644 static _always_inline_ _printf_format_(2, 3) void kmod_log_null(struct kmod_ctx *ctx, const char *format, ...) {} --- -1.7.10.4 -