From patchwork Fri Mar 29 17:45:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nick Desaulniers X-Patchwork-Id: 161472 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp2325872jan; Fri, 29 Mar 2019 10:45:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqxieVgp8G+o4glduF2YSmLMcESGcm1gqY0Oi/7C1DysYS4Z+2lcfub5Ot0EDETHd26IQB98 X-Received: by 2002:a17:902:e302:: with SMTP id cg2mr3283788plb.285.1553881556516; Fri, 29 Mar 2019 10:45:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553881556; cv=none; d=google.com; s=arc-20160816; b=axwa7gfWObP15/70hgccPD26gjsbH799gsvjUQRgV/F2cNTvStH+4FwaDCH9sfmWNh +lyw+4p4eUmKYYF2eFDXCA7Llwl/9JjQ6ChA7nRjyDnBb7s6Ryw5Wdf9czNCKKSPVnQ9 9l8Xo0iaI9dIf0aiuwdsNnvAQYxWKdkoJNrd8g58FbF9qiC5jFo+PadLk9GRBVcUA8Qc hYYRk6pxyPX+CYKUPaN86G8zKFmJdkFRq5Jjd9UH+YIsU+Bq2R6OnL9iMVV6bk3eHbFo DxE1CXN6DUVdE5ltK523sSPprmksUDcER7Pti2PK7fQsOnskO2ssYDsG0gD3MUnVaE1d WQIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:from:subject:references :mime-version:message-id:in-reply-to:date:dkim-signature; bh=MY/FhGStq36GLtRvOP3TUiFwwq8ZbgwnWXgDNjfyXLc=; b=Sq5bllgH11XsvfBKZyZ5YeuM1qT3MVjNBTtPNJJuEsbZOVtw22lLCvhgm25uZqXsqf Uht9rQXudbSdJa592DkaGi2z9scnUkeLriZ2BBthty1LmPfXvz0ccjKTiN5xoWDhQUYJ c+CC8DqZRSCW2A3LOesCsQojQQz86NvSmoACCKBHH+/HrlBKe+C+reWN1vdIHaFNAFiR BSS9wkJUKFfP2VWMn2A6GTAZw4WCxbBtsrHYiA76XJRv/MzFXtEZbazhUVmQZ6rBWzEJ oMCr6FeiGBq5gf/9wy3DAIiOd9FpV3HYtlEASVUJ2/RA8YBkqotbTeMfa9ZqaNS2xxME IX6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=U9KbfiY2; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f69si2352949pgc.103.2019.03.29.10.45.56; Fri, 29 Mar 2019 10:45:56 -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=pass header.i=@google.com header.s=20161025 header.b=U9KbfiY2; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729895AbfC2Rpy (ORCPT + 31 others); Fri, 29 Mar 2019 13:45:54 -0400 Received: from mail-qt1-f201.google.com ([209.85.160.201]:55773 "EHLO mail-qt1-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728977AbfC2Rpy (ORCPT ); Fri, 29 Mar 2019 13:45:54 -0400 Received: by mail-qt1-f201.google.com with SMTP id h51so2937818qte.22 for ; Fri, 29 Mar 2019 10:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:in-reply-to:message-id:mime-version:references:subject:from:to :cc; bh=MY/FhGStq36GLtRvOP3TUiFwwq8ZbgwnWXgDNjfyXLc=; b=U9KbfiY2tmMN3GbfNt8jNImUF01m6grsBPWSAKAY+TrMvuGI6cltQvl/Nirx7lcbau /akZ/ARDBKBCMYz1I19MMPsToUhiU4BJcVIzKJV6YKtUdE+bzoUnHPToaaCd2naMOIcV ZOtykiTHkOTpTb3WJkmcOfffCA+58ktbybVfG6xMgrWhv46+yngJmvLRhCyWQETNKMyJ 1WWioQfxhI3z8MqAPw7T5CTFK7yCulwR3rMPL/3fVEFMgCF+IBB2IlQ+korX36XTuOHG EB0aNuRSnIgnZEgMx9fBh8DS75VMssmVPBjHGBoAp6X+bazkB2/R8bYyJxs8T23jiQif 73qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=MY/FhGStq36GLtRvOP3TUiFwwq8ZbgwnWXgDNjfyXLc=; b=TJvGC74D8XZulJFhr+L3DT1ro6ZIfHwXytIUHWJjul2Zlo/UpfLCgvnf6pVIA3xw05 2uhwWakcymB+rGU8ZMOxIcIUFAceu4aez/A5AqtTFE4mUW91rbwLkrYFR83gyOvh4Xzh GDdFe+9e1Lsuj5IBuBs50DQWj4VexcpbDEPuRkJmLlC8+CuPqJ7XidGCRywm//knpkc+ 3JA6n+YwVN6Ggl0JbCJ8uOcDuY+VSLOX9jIVvycEmWg4bqIdgS1NSl27fiIxj+4iLxI1 l/O/nQvLVGkhtG2ZIcKRxYHl0qgrMcqIWo3punLqqpkqN035W62jznYEH5ao5dnSmH0m j02A== X-Gm-Message-State: APjAAAVn2kCUppfN7Y/0D6tEfQe+s5iK5Iy+Kqcz8wW7NJJcZ7oYr5mu WaFHVOX06b28XXOK3gY+aZiR/l7ZnmdvrKL0QG4= X-Received: by 2002:a37:6704:: with SMTP id b4mr3214830qkc.29.1553881552858; Fri, 29 Mar 2019 10:45:52 -0700 (PDT) Date: Fri, 29 Mar 2019 10:45:41 -0700 In-Reply-To: <201903291603.7podsjD7%lkp@intel.com> Message-Id: <20190329174541.79972-1-ndesaulniers@google.com> Mime-Version: 1.0 References: <201903291603.7podsjD7%lkp@intel.com> X-Mailer: git-send-email 2.21.0.392.gf8f6787159e-goog Subject: [PATCH] gcov: include linux/module.h for within_module From: Nick Desaulniers To: oberpar@linux.ibm.com, akpm@linux-foundation.org Cc: Nick Desaulniers , Greg Hackmann , Tri Vo , linux-mm@kvack.org, kbuild-all@01.org, kbuild test robot , linux-kernel@vger.kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes commit 8c3d220cb6b5 ("gcov: clang support") Cc: Greg Hackmann Cc: Tri Vo Cc: Peter Oberparleiter Cc: linux-mm@kvack.org Cc: kbuild-all@01.org Reported-by: kbuild test robot Link: https://marc.info/?l=linux-mm&m=155384681109231&w=2 Signed-off-by: Nick Desaulniers --- kernel/gcov/gcc_3_4.c | 1 + kernel/gcov/gcc_4_7.c | 1 + 2 files changed, 2 insertions(+) -- 2.21.0.392.gf8f6787159e-goog Reported-by: Randy Dunlap diff --git a/kernel/gcov/gcc_3_4.c b/kernel/gcov/gcc_3_4.c index 801ee4b0b969..0eda59ef57df 100644 --- a/kernel/gcov/gcc_3_4.c +++ b/kernel/gcov/gcc_3_4.c @@ -16,6 +16,7 @@ */ #include +#include #include #include #include diff --git a/kernel/gcov/gcc_4_7.c b/kernel/gcov/gcc_4_7.c index ec37563674d6..677851284fe2 100644 --- a/kernel/gcov/gcc_4_7.c +++ b/kernel/gcov/gcc_4_7.c @@ -13,6 +13,7 @@ */ #include +#include #include #include #include