Received: by 2002:a25:5b86:0:0:0:0:0 with SMTP id p128csp1906558ybb; Fri, 29 Mar 2019 13:54:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqynD8ZLXAqeTHAsIeiwpIXwqfNifPlvYnK7NOAk+ybxKIvP6e02lhbxqTSOJQYLdwlEQBob X-Received: by 2002:aa7:8818:: with SMTP id c24mr48790451pfo.129.1553892891574; Fri, 29 Mar 2019 13:54:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553892891; cv=none; d=google.com; s=arc-20160816; b=uPGOjVkNgc9gfOHNpi2muaDrx5FZK+O7+Qogkfjq0WXhwHu9rDp67wa2uo+NDSyo68 wfCUnqOP+0LU6zM6MbMp7hRGN9FAruLdt0j1OU92LQs/1v3A/zGLMaMkof4dppn0HszE Uf3gjA4qCCXYITI7Hs1CCQRMnWGAoUp+NBBms1xKbxajk6JX4W18rI+ztYJpPODa95U9 Lp8JNeD/mKsqH8nvruL6aij6WB9hP4w6n4FNpemyFIs13VZo1O7Mis8jsAQ+b8LvcwOH dT3P4Phdr1n0nlmE9MNGLqI6JKYb+YRGhCEMKTlAwZI0uQ/meAbSwPMCpD7BhpBCtU3O IM5g== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=SXLIsWX+sIMJiNWtF0Uz0Css8O/+w93TgCqvxQgHdgU=; b=kMvsxhcmo5woQhc2gzuIJ8qNhYI/chfAlGojjg2RDG9q53KXugQVumcZW4qu6+FoNi igSdhB41h+XzyQRq1i34YYKiRauDKzL+YayjEYqvzX4glTWLEbHgXDO+DV7c1FbLr+DD 8GBGuUvbarP10MrHzYgl1GvDWwrCzbsjm5dqy847tDVwYlT5yD9AcJ8Y7tf4EOncftAl f9gzLHWWiYxvmKjDzG22cnErPqU/gT7ORvj0uIA1iE8LyDx1i8fwcWNsT5ROJfKuvvPa JtJPw2TpMvdjeRROrVveIySBGKFd5T1np6L7t0OLnxi55AID9n2m1CIRqD1hLboIoRAB 9Cxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (dns failure for signature) header.i=@infradead.org header.s=merlin.20170209 header.b=r3YpB8fr; 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 w125si2792183pfw.137.2019.03.29.13.54.35; Fri, 29 Mar 2019 13:54:51 -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; dkim=temperror (dns failure for signature) header.i=@infradead.org header.s=merlin.20170209 header.b=r3YpB8fr; 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 S1730319AbfC2UxZ (ORCPT + 99 others); Fri, 29 Mar 2019 16:53:25 -0400 Received: from merlin.infradead.org ([205.233.59.134]:42478 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730151AbfC2UxZ (ORCPT ); Fri, 29 Mar 2019 16:53:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SXLIsWX+sIMJiNWtF0Uz0Css8O/+w93TgCqvxQgHdgU=; b=r3YpB8frv2MwYfBW++6LtXZqqh J8MQ1igNj30Dkbfak77RQSfJMVWXukSQuE2PYmgokaTkjdMQABrYXM0MhU7nwvqDf+OTOh1KKE4fi 4l9TKnJ9txerl45TWGywTqNIW/Fck3uLrrNjEWmVLEk3bnGo45RD3bL+W9aTDLODdzCHHpDONmkh8 BU/J8qGHl9wccB0rAugzNEWnKwv34ouxpnQajvFjL2kqzPhU/+aQZi/fO0qaCdTG59E6jvycqfr7x s6VORPvkkQdsFQEFohtLgxnkIgoCBW4RSyHii7MVdQhKREvcv4fBnPBqYppVbFKTEov7XbyV2HrK/ jesYArHA==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=midway.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1h9yV6-0008NG-8l; Fri, 29 Mar 2019 20:53:20 +0000 Subject: Re: [PATCH v2] gcov: fix when CONFIG_MODULES is not set To: Nick Desaulniers , oberpar@linux.ibm.com, akpm@linux-foundation.org Cc: Greg Hackmann , Tri Vo , linux-mm@kvack.org, kbuild-all@01.org, kbuild test robot , linux-kernel@vger.kernel.org References: <20190329181839.139301-1-ndesaulniers@google.com> From: Randy Dunlap Message-ID: <83226cfb-afa7-0174-896c-d9f7a6193cf4@infradead.org> Date: Fri, 29 Mar 2019 13:53:17 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190329181839.139301-1-ndesaulniers@google.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/29/19 11:18 AM, Nick Desaulniers wrote: > Fixes commit 8c3d220cb6b5 ("gcov: clang support") There is a certain format for Fixes: and that's not quite it. :( > Cc: Greg Hackmann > Cc: Tri Vo > Cc: Peter Oberparleiter > Cc: linux-mm@kvack.org > Cc: kbuild-all@01.org > Reported-by: Randy Dunlap > Reported-by: kbuild test robot > Link: https://marc.info/?l=linux-mm&m=155384681109231&w=2 > Signed-off-by: Nick Desaulniers Acked-by: Randy Dunlap # build-tested Thanks. > --- > kernel/gcov/gcc_3_4.c | 4 ++++ > kernel/gcov/gcc_4_7.c | 4 ++++ > 2 files changed, 8 insertions(+) > > diff --git a/kernel/gcov/gcc_3_4.c b/kernel/gcov/gcc_3_4.c > index 801ee4b0b969..8fc30f178351 100644 > --- a/kernel/gcov/gcc_3_4.c > +++ b/kernel/gcov/gcc_3_4.c > @@ -146,7 +146,11 @@ void gcov_info_unlink(struct gcov_info *prev, struct gcov_info *info) > */ > bool gcov_info_within_module(struct gcov_info *info, struct module *mod) > { > +#ifdef CONFIG_MODULES > return within_module((unsigned long)info, mod); > +#else > + return false; > +#endif > } > > /* Symbolic links to be created for each profiling data file. */ > diff --git a/kernel/gcov/gcc_4_7.c b/kernel/gcov/gcc_4_7.c > index ec37563674d6..0b6886d4a4dd 100644 > --- a/kernel/gcov/gcc_4_7.c > +++ b/kernel/gcov/gcc_4_7.c > @@ -159,7 +159,11 @@ void gcov_info_unlink(struct gcov_info *prev, struct gcov_info *info) > */ > bool gcov_info_within_module(struct gcov_info *info, struct module *mod) > { > +#ifdef CONFIG_MODULES > return within_module((unsigned long)info, mod); > +#else > + return false; > +#endif > } > > /* Symbolic links to be created for each profiling data file. */ > -- ~Randy