Path: csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Mathieu Poirier Newsgroups: linux.kernel Subject: Re: [PATCH] drivers/hwtracing: add missing header dependencies Date: Tue, 06 Sep 2016 17:30:02 +0200 Message-ID: References: Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y6bPniQLf/e1xHdybLewWFCoz9aECaqxhQPAaCi5DpE=; b=Y2zl6lTIzH5TjG+dnNDE0f5F95Nrb+sDeO6tfmXx3aXM5fxkHeYSbh52fzgcNX8RDW dFOJde1unpBW0SL4P81PYBrvZpRaWZzU+HUi+fIHuSgTvmyj2oDM+LVj7wVcdFMYzCYo LjZildaHRzK/bxSW/s0Fe5CYNl/37223NBuBQ= X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y6bPniQLf/e1xHdybLewWFCoz9aECaqxhQPAaCi5DpE=; b=T2ZBnEeTkTRvuku68ZdDY2STcb3EenFdVg1gKOyHwRUUdFtsQI9x61NwkQ3YD38nq8 aROzhr7i/jmxExjPm7akKRoX4QrqTK/3ekUKxD/U1kwE7ggnrOyOIBgMOKPjqPG1WJ87 3S3hw9s+UlhSKl18yicChlXdUPsBVeZuKAbUIEWA+Y1v5doHOGsGe1BnQSHrbs7rikw9 vuo3i1v/PZFzOv/vjTOAiDqTKvTvyChj7nMySbYImaFsfq8zhMC2o42ko1k4FA69JzRg ma1Cq9qQKhPohyMuYxKEg5xrmAneLy4crxQBfbPUmvvRg8o2D/1VCjitLg45lU35lxU+ K+Tw== X-Gm-Message-State: AE9vXwMx517DvU3THwFvlytSLFax6rusfTmiV2BcDswUdVZxfwZHvQKJ61Kj3sm7+mCZLHpo493WzvFnhIAm0trz X-Received: by 10.194.238.42 with SMTP id vh10mr41154617wjc.111.1473175629598; Tue, 06 Sep 2016 08:27:09 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: robomod@news.nic.it List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Approved: robomod@news.nic.it Lines: 33 Organization: linux.* mail to news gateway X-Original-Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Arnd Bergmann , xie.baoyou@zte.com.cn X-Original-Date: Tue, 6 Sep 2016 09:27:09 -0600 X-Original-Message-ID: X-Original-References: <1473148597-25478-1-git-send-email-baoyou.xie@linaro.org> X-Original-Sender: linux-kernel-owner@vger.kernel.org Xref: csiph.com linux.kernel:1477516 On 6 September 2016 at 01:56, Baoyou Xie wrote: > We get 1 warning when building kernel with W=1: > drivers/hwtracing/coresight/coresight-etm-perf.c:345:5: warning: no previous prototype for 'etm_perf_symlink' [-Wmissing-prototypes] > > In fact, this function is declared in coresight-etm-perf.h, so this patch > add missing header dependencies. > > Signed-off-by: Baoyou Xie > --- > drivers/hwtracing/coresight/coresight-etm-perf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/hwtracing/coresight/coresight-etm-perf.c b/drivers/hwtracing/coresight/coresight-etm-perf.c > index 755125f..d936e82 100644 > --- a/drivers/hwtracing/coresight/coresight-etm-perf.c > +++ b/drivers/hwtracing/coresight/coresight-etm-perf.c > @@ -28,6 +28,7 @@ > #include > > #include "coresight-priv.h" > +#include "coresight-etm-perf.h" I already fixed this one in my next branch - it will show up in the 4.9 cycle. Thanks for the submission, Mathieu > > static struct pmu etm_pmu; > static bool etm_perf_up; > -- > 2.7.4 >