Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1477516

Re: [PATCH] drivers/hwtracing: add missing header dependencies

Path csiph.com!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Mathieu Poirier <mathieu.poirier@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] drivers/hwtracing: add missing header dependencies
Date Tue, 06 Sep 2016 17:30:02 +0200
Message-ID <seqtY-3JB-39@gated-at.bofh.it> (permalink)
References <sejsu-7qJ-33@gated-at.bofh.it>
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 <linux-kernel.vger.kernel.org>
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-arm-kernel@lists.infradead.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Arnd Bergmann <arnd@arndb.de>, xie.baoyou@zte.com.cn
X-Original-Date Tue, 6 Sep 2016 09:27:09 -0600
X-Original-Message-ID <CANLsYkxkSoQgeJoygOV+1mP=H+_+wVYgGFiAxia2juskEDf=qg@mail.gmail.com>
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

Show key headers only | View raw


On 6 September 2016 at 01:56, Baoyou Xie <baoyou.xie@linaro.org> 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 <baoyou.xie@linaro.org>
> ---
>  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 <linux/workqueue.h>
>
>  #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
>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] drivers/hwtracing: add missing header dependencies Baoyou Xie <baoyou.xie@linaro.org> - 2016-09-06 10:00 +0200
  Re: [PATCH] drivers/hwtracing: add missing header dependencies Mathieu Poirier <mathieu.poirier@linaro.org> - 2016-09-06 17:30 +0200

csiph-web