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: 9303939 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3B3936077C for ; Mon, 29 Aug 2016 12:40:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D3172887F for ; Mon, 29 Aug 2016 12:40:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2159728881; Mon, 29 Aug 2016 12:40:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HK_RANDOM_FROM,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A53FA2887F for ; Mon, 29 Aug 2016 12:40:20 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757315AbcH2Mj5 (ORCPT ); Mon, 29 Aug 2016 08:39:57 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:34921 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756125AbcH2Mj4 (ORCPT ); Mon, 29 Aug 2016 08:39:56 -0400 Received: by mail-pf0-f173.google.com with SMTP id x72so51902351pfd.2 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=H+niNPGphMWQI2m1ZMHKvnRyECkszrpRB+tZaMdkxjoM4xxRXcbflpHIEGk7S+nzBN 6vAnOpOLOYTx0MZnJm83+voVGNu3ka0hzRrj4gQdfoYbMnZhbS/m3YMa9KDydyBulNfj L/BEt7NBiDYpQ61NsKqsTgNqGQOtpjrND6Mmwe2qLBWEKh0twPYgAwNv5xQWcJIQMHHX LfMVlM3fPHUo57AfuHsJmr18Cxa4E8CWtD4oK+NcgcMIBc7sGQwJ8TZ9LhYgbAFYO89F UttYlPAWgbV2iYY13Zw45vxPqBUtJLnNfzzH1GQrK/NgHk7iRVIa8ZZfL21S8nHTSdZ/ YV2Q== X-Gm-Message-State: AE9vXwOIzCdns3suvDKRnZ8dQvjjkf8r6ZW92OMclmnrO05Rl28er/2587Es1mk/twm1pR58 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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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, ...) {