From patchwork Tue Sep 6 07:56:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 75476 Delivered-To: patch@linaro.org Received: by 10.140.106.11 with SMTP id d11csp417229qgf; Tue, 6 Sep 2016 00:57:13 -0700 (PDT) X-Received: by 10.66.50.99 with SMTP id b3mr47156804pao.28.1473148633838; Tue, 06 Sep 2016 00:57:13 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id qj2si34151611pac.7.2016.09.06.00.57.13; Tue, 06 Sep 2016 00:57:13 -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=@linaro.org; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932774AbcIFH5L (ORCPT + 27 others); Tue, 6 Sep 2016 03:57:11 -0400 Received: from mail-pf0-f179.google.com ([209.85.192.179]:36399 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750997AbcIFH5K (ORCPT ); Tue, 6 Sep 2016 03:57:10 -0400 Received: by mail-pf0-f179.google.com with SMTP id h186so71909728pfg.3 for ; Tue, 06 Sep 2016 00:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=hgsiBKqB1BXFdaXvb3iQbWbE3hQHp0hcnqej4hvXonI=; b=jFSos/oFYBW+KwQXACG3ZhckJWxij3miAdOk/sDt8HIikcxdajWBaJ31a4wVP0ymC2 eDXfsblzny7RMOI767CxhfrdwS45dDpyYZ/bkSP86dmDAnAP8PUlkEDEusuNWPS2S4sN Eh86ROFnX9VFDzRYcioBy7o3I+EypCTeO1E80= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=hgsiBKqB1BXFdaXvb3iQbWbE3hQHp0hcnqej4hvXonI=; b=KZc/TCPGdpKMAmhzltNpnxdwaSDJxMJTAvN841SWq1FXwqa9CDQsSBq7iNYxmZ8p+t FNTFQuv+rrV0Tq/x/1b1HFBu+ledU9cac4wKlrfI0D2euoaLLgcozFUQHUqhKDFV4kJv TgjObmdGZQ/opsKwRXtJk2OgVLAdBIhUPhCStNpdXACbewrYTljjxZfQdyUDMziwTd71 k/5PFtW1RGmrWGmczjfndPRbMpxLt1+VOyiiJOH03UNW1Q9A72GGC1KlFz5MK4C2huQ+ bk0Sgd0b1Tr3XBpk6r0sMCp3x6ZEEwE+yaknLC9GoeJ0v7m9/bDECO+i6secPzpS/fc4 8Bfg== X-Gm-Message-State: AE9vXwNGKPGwlGB7HJ+a/gTffJ6wiEkr7ifb3g2cbngTKIMf+GTzXEV+k4Kiaf/M77fmHWpf X-Received: by 10.98.184.18 with SMTP id p18mr32425952pfe.76.1473148629324; Tue, 06 Sep 2016 00:57:09 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.17]) by smtp.gmail.com with ESMTPSA id y6sm38685295pav.1.2016.09.06.00.57.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 06 Sep 2016 00:57:08 -0700 (PDT) From: Baoyou Xie To: mathieu.poirier@linaro.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] drivers/hwtracing: add missing header dependencies Date: Tue, 6 Sep 2016 15:56:37 +0800 Message-Id: <1473148597-25478-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.7.4 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" static struct pmu etm_pmu; static bool etm_perf_up;