Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2580655ybp; Thu, 10 Oct 2019 09:24:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3WL3dsSVZkROZb3FIvYWGN6KslbxTMCr270dmESguLJtwmG5N0/ZUraspYz2+kxtlWjjC X-Received: by 2002:aa7:ce8c:: with SMTP id y12mr9008532edv.171.1570724676206; Thu, 10 Oct 2019 09:24:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570724676; cv=none; d=google.com; s=arc-20160816; b=vwsmKW2itWYGNmGWyFb5Mg7175sHi6aGGkECN0Em2NOCpIHHSyO0+pmPVt1RZQmFSe gS8C0VdgztfbGqF7uIxOlAx4fP4/daAbiGkJVfLnP7t3Um3dHKMN8mQrzGURnpe9kF8A OU54fSTBSszr2hOqhBcn8Ij+dRnd8LrrRsMZt177qd6WEBTB3YHfckiNxofXmxcPg/gr ZZcPI5XYXUVdQqyXWtd9pKXw1hAWNQtN7D2dF6yGFphAKVr7tIeOTP1/E2d3THfth+ZC FQl/Xt0sfDZyUmBhmT9vAdghlXi/4ew3xoF5Ts/vXQ/MqCjmWOy8Kc5sSnAtVbmeMDA+ R+Ew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=UQferRCdV1OlpB/ePc/hHcVRXgczKOUn5hbkN7i4JpU=; b=Kb+FCSHIVRP8UiBC5vgDGhQr32XovzCNiwblSQDvSw+rn3lc28HW33BzytLKZSGjE+ Ej4lQ7xjN8DOyTZukcXiMyiYFi/BXO7OP8/VCChSbmFyA4TrxVZR1B6Z+XRYJuEa9DLl ByKj0N6OvHOQNzpN8HBfO1zrEPOsK9E76soHQk9guf/nUxmopW0hcDHlfqezP7ngw4qI RysHeeHkrF9GlMu6ewgfStZ0q0msDesv6m/G8YUdHcsKuF4En+QLhOuzViIeZiFKlgE1 Tt1LBD/wMFmh24tiuXUFSQDw3ug0dT9xxi1FU/gLqkxuMe0QsNCAezfwSg7E9nTT8q/J UaPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a41si4297744edc.180.2019.10.10.09.24.10; Thu, 10 Oct 2019 09:24:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726275AbfJJQXZ convert rfc822-to-8bit (ORCPT + 99 others); Thu, 10 Oct 2019 12:23:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:52068 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725901AbfJJQXY (ORCPT ); Thu, 10 Oct 2019 12:23:24 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D989B214E0; Thu, 10 Oct 2019 16:23:23 +0000 (UTC) Date: Thu, 10 Oct 2019 12:23:21 -0400 From: Steven Rostedt To: Uwe =?UTF-8?B?S2xlaW5lLUvDtm5pZw==?= Cc: Matt Helsley , LKML , Ingo Molnar , kernel@pengutronix.de, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 4/8] recordmcount: Rewrite error/success handling Message-ID: <20191010122321.7329329f@gandalf.local.home> In-Reply-To: <20191009152217.whklst5vwrwvsjc4@pengutronix.de> References: <8ba8633d4afe444931f363c8d924bf9565b89a86.1564596289.git.mhelsley@vmware.com> <20191009104626.f3hy5dcehdfagxto@pengutronix.de> <20191009110538.5909fec6@gandalf.local.home> <20191009152217.whklst5vwrwvsjc4@pengutronix.de> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Oct 2019 17:22:18 +0200 Uwe Kleine-König wrote: > > diff --git a/scripts/recordmcount.h b/scripts/recordmcount.h > > index 3796eb37fb12..6dbec46b7703 100644 > > --- a/scripts/recordmcount.h > > +++ b/scripts/recordmcount.h > > @@ -389,11 +389,8 @@ static int nop_mcount(Elf_Shdr const *const relhdr, > > mcountsym = get_mcountsym(sym0, relp, str0); > > > > if (mcountsym == Elf_r_sym(relp) && !is_fake_mcount(relp)) { > > - if (make_nop) { > > + if (make_nop) > > ret = make_nop((void *)ehdr, _w(shdr->sh_offset) + _w(relp->r_offset)); > > - if (ret < 0) > > - return -1; > > - } > > Yes, this patch fixes building for me. May I add to my patch: Reported-by: Uwe Kleine-König Tested-by: Uwe Kleine-König ? -- Steve