From patchwork Fri Mar 9 18:56:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Kanavin X-Patchwork-Id: 131232 Delivered-To: patch@linaro.org Received: by 10.46.66.2 with SMTP id p2csp1344493lja; Fri, 9 Mar 2018 11:05:52 -0800 (PST) X-Google-Smtp-Source: AG47ELvHj6ccehJy4d2sj1GRunHt2c85w+wUpKXgZS8aEJ9MPl5zM+0oniARUvWXXDznboJhfbSh X-Received: by 2002:a17:902:3103:: with SMTP id w3-v6mr27515021plb.99.1520622352493; Fri, 09 Mar 2018 11:05:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520622352; cv=none; d=google.com; s=arc-20160816; b=a2gisGDiaPdgjjDKMKIsTlI0ioeHFWlKQDMK41srSsx0mkbCcHvGHrkb01ghRalkq9 WftStiN/99HbYEqZ5GmSrCFAe2C5BoRag9aIzecmc/uhDLhrxmdgSeMzC5pqJnTmCKaV BDiQ0aaPjfb1hhxgJztG0I8FHBqecJ7LoJhxfnEcuK9Wnqmdg5x+9sm1WVAIWbnwZu9H VrD6y7ZBKiMvS1SslUNMOr02MkX3KN3oS9AycPdR50TnO8dcu/BsTL5EpaR4s0wHIDrn MAUCZWsTACyLfoFW+bK5n96hZF1Zt8CZdE8cirVO+G0sZeNq1h42PdqWvscDNqv4lxvI UXkg== 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=WVtWwXDaCO/6mcuTEwiLsdw1QEMvzdcxXjfrEcjo1Ok=; b=Mg2rxEQAJ0HtBPUHx/5ps1FtuAEqGfCD8KjMoUy/S6RRyuNQyMayrbxwD8IUWzEWPf GSCcwdBi1aEOgeNvEFEdK/hzo1xKuDwtM2mGvZna+9eHqABqc/0qFMmu5QW0FmlaxLZ8 eR8ZSTwMQUSWWQf8cUtg1STQXUpQAqdb4Fo3he8pfmv3QFdAyxbkbw0B5UeM+B9Pkg6c nEqrz12B9ZLU0aCm3zXvfj+JLhsG1kwvlY78AClo7/3iSwm3PUDjzg+p4bwf7LG4XlzP tVfbn9JB6ltwwnnKu2zC+W4dlT5F1trYzfZpUY610eV7AE1TMJL2hhPpMRXIWo5S8jjn gv2A== 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 q5si1276442pff.398.2018.03.09.11.05.52; Fri, 09 Mar 2018 11:05:52 -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 C1CD3789A8; Fri, 9 Mar 2018 19:03:37 +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 0337078942 for ; Fri, 9 Mar 2018 19:03:24 +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:03:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.47,446,1515484800"; d="scan'208";a="32652018" Received: from kanavin-desktop.fi.intel.com ([10.237.68.161]) by FMSMGA003.fm.intel.com with ESMTP; 09 Mar 2018 11:03:25 -0800 From: Alexander Kanavin To: openembedded-core@lists.openembedded.org Date: Fri, 9 Mar 2018 20:56:01 +0200 Message-Id: <20180309185614.31113-23-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 23/36] rpcbind: 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 --- .../pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 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-extended/rpcbind/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch b/meta/recipes-extended/rpcbind/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch index 859e67bbe05..4c23ee01ca2 100644 --- a/meta/recipes-extended/rpcbind/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch +++ b/meta/recipes-extended/rpcbind/rpcbind/pmapproc_dump-Fixed-typo-in-memory-leak-patch.patch @@ -15,19 +15,16 @@ Signed-off-by: Jackie Huang src/pmap_svc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/pmap_svc.c b/src/pmap_svc.c -index e926cdc..26c31d0 100644 ---- a/src/pmap_svc.c -+++ b/src/pmap_svc.c -@@ -384,7 +384,7 @@ pmapproc_dump(struct svc_req *rqstp /*__unused*/, SVCXPRT *xprt) +Index: rpcbind-0.2.4/src/pmap_svc.c +=================================================================== +--- rpcbind-0.2.4.orig/src/pmap_svc.c ++++ rpcbind-0.2.4/src/pmap_svc.c +@@ -384,7 +384,7 @@ pmapproc_dump(struct svc_req *rqstp /*__ } done: - if (!svc_freeargs(xprt, (xdrproc_t) xdr_pmap, (char *)NULL)) { + if (!svc_freeargs(xprt, (xdrproc_t) xdr_void, (char *)NULL)) { if (debugging) { - (void) xlog(LOG_DEBUG, "unable to free arguments\n"); + /*(void) xlog(LOG_DEBUG, "unable to free arguments\n");*/ if (doabort) { --- -2.7.4 -