Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp17471ybp; Thu, 10 Oct 2019 13:14:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1GajjbGWwJw6j5LOYfqfPoJHdGFOF+scC3WB7JjRNh1DdnFIpPDPdMe3g++ZxzyyB3Mih X-Received: by 2002:a50:9fe7:: with SMTP id c94mr9943743edf.249.1570738486272; Thu, 10 Oct 2019 13:14:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570738486; cv=none; d=google.com; s=arc-20160816; b=UjFJifctgp9HT/flp0e7hhsIZHzTMM2N+vN++qseZah66V6EmVTycKrQqTMZ5r4Cet FiJVdTp++WAZZEQC/eo6X0CvMzOuCHmTAk9VjYda0d+u99G5PVp3qpLhMdZo909xL891 qCUK8CfDozEyBvOy3Y1kOM4RWbKTiBsoi859bTeaP3KGAimLO1Tzmsb6KPAG0CkIAVFY roq0Os+zZKW3hgv0PXBpcCBVhw5aud3lqnybhnHJ3iuYTnPuPLnyYOOwSDs+RHDI70RJ iRttcAMihkwZkX+IH3BGsEsvUoACs9mn9uZhaG5OxflD93+mv4gFIgGHKONWl5yiYMD7 aZlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=c8hzd/PHv/de2Sdj42iC3qVVOSlPdpMTQ0kBtd5d1sY=; b=CgZmNqPmdU+e7HiAZvboVa4Py5jAZqbJRvU280EYTy2JGdg7YpsqDvfpU6DECP7vjc xPZjV5nJb6fZkxtigD81hnyNEg/9H3lvNYhAUm7I9fGOQvrcRpVa/rvMHP3fNf4Q4thp HGhKFsglTkKp79c7Bap8QBMGx+mp5Jhn3KTXnzRLLwXZaoNJIjk7ShWGtMMlCYNgrBt7 KveBTq8HBfs/zAdYPy9VYqAAUKqd6acgetG+pOhYQcCumcZz3CAAgzhIqo4y+iESased WIs6bL3Ras+DmBl6S3GwFTsHv/7x+h2EapLK5STBfU0nJBxt2SKudquOsFOg7vMpk2kA zmkA== 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 w5si3571258edv.66.2019.10.10.13.14.22; Thu, 10 Oct 2019 13:14:46 -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 S1726489AbfJJUOG (ORCPT + 99 others); Thu, 10 Oct 2019 16:14:06 -0400 Received: from metis.ext.pengutronix.de ([85.220.165.71]:55931 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbfJJUOG (ORCPT ); Thu, 10 Oct 2019 16:14:06 -0400 Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iIeoz-0004VC-S0; Thu, 10 Oct 2019 22:14:01 +0200 Received: from ukl by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1iIeoy-0005K0-BS; Thu, 10 Oct 2019 22:14:00 +0200 Date: Thu, 10 Oct 2019 22:14:00 +0200 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= To: Steven Rostedt 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: <20191010201400.k4tcsbx2cqe5wjqs@pengutronix.de> References: <8ba8633d4afe444931f363c8d924bf9565b89a86.1564596289.git.mhelsley@vmware.com> <20191009104626.f3hy5dcehdfagxto@pengutronix.de> <20191009110538.5909fec6@gandalf.local.home> <20191009152217.whklst5vwrwvsjc4@pengutronix.de> <20191010122321.7329329f@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20191010122321.7329329f@gandalf.local.home> User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 10, 2019 at 12:23:21PM -0400, Steven Rostedt wrote: > 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 Yeah, sure. Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-K?nig | Industrial Linux Solutions | http://www.pengutronix.de/ |