From patchwork Mon Aug 29 12:39:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 74905 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp1611526qga; Mon, 29 Aug 2016 05:40:00 -0700 (PDT) X-Received: by 10.98.213.130 with SMTP id d124mr32718201pfg.118.1472474400886; Mon, 29 Aug 2016 05:40:00 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o79si39055758pfa.103.2016.08.29.05.40.00; Mon, 29 Aug 2016 05:40:00 -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 S1757346AbcH2Mj6 (ORCPT + 27 others); Mon, 29 Aug 2016 08:39:58 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:33082 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756545AbcH2Mj4 (ORCPT ); Mon, 29 Aug 2016 08:39:56 -0400 Received: by mail-pf0-f177.google.com with SMTP id y134so51830464pfg.0 for ; Mon, 29 Aug 2016 05:39:55 -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=+HBMaSjX7QUj0JQreG714a2f/MW6cvjDWfRzg2akS3U=; b=SoVrRX8x2yURoAZyHpukvPZBSrLqrs98qjk2qpmLyPU0iMiJ/OteCfXkl3Bvh0ewee OtmiX3dHSnY8MR7n+iAxA4SG/TGMxicRNj2pCmceGVFrEIhBajZtvl8g9//iFpGNEY+j ctGyn63ivfDUnl3/QrNapukJBi0rWaGbFvWB0= 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=+HBMaSjX7QUj0JQreG714a2f/MW6cvjDWfRzg2akS3U=; b=j16No2fTaWApLamB+FFzVdelz3bB5ppwRDOxrYkyFkJLoThR0yFp7b2ArEwaZg7jBN 6JRbu621UX/NBbdW3bXqZVU835tUNQ6fHZy1admviyzGdew3Hp9pt1e+pX6zWfG1dAZ2 lP0WAqDyEbD+6AHbpH2c7xGSXbwTOHYwdKuInjkfZK7g9o035F0JI1CtuzjTTkSySVxy WsqEvNdKGrXBFgjGSgY8kSynkjoJ/UIzUjqdRvcp4/i6Na+xHT5/+SMU0AjAtWTwAOja 3cIFBpKUnLkzovL26qs/YeIe/gj1JWF++I7sdV6tnsMCSkHLXg7p68fw0++VTE4Ih+tC jIvg== X-Gm-Message-State: AE9vXwMJ8hDSuDHR8c4ce+7n3fjxvRVsPlgPDuJGfEwVpuozhWSS41fKpcHuEpeVAKm0DNii X-Received: by 10.98.16.75 with SMTP id y72mr32480520pfi.50.1472474395483; Mon, 29 Aug 2016 05:39:55 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.36]) by smtp.gmail.com with ESMTPSA id cp11sm49273536pac.28.2016.08.29.05.39.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Aug 2016 05:39:55 -0700 (PDT) From: Baoyou Xie To: arend.vanspriel@broadcom.com, franky.lin@broadcom.com, hante.meuleman@broadcom.com, kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@arndb.de, baoyou.xie@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH v4] brcmfmac: add missing header dependencies Date: Mon, 29 Aug 2016 20:39:35 +0800 Message-Id: <1472474375-29910-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 build kernel with W=1: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:23:6: warning: no previous prototype for '__brcmf_err' [-Wmissing-prototypes] In fact, this function is declared in brcmfmac/debug.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie Acked-by: Arnd Bergmann --- drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c index a10f35c..fe67559 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c @@ -19,6 +19,7 @@ #ifndef __CHECKER__ #define CREATE_TRACE_POINTS #include "tracepoint.h" +#include "debug.h" void __brcmf_err(const char *func, const char *fmt, ...) {