From patchwork Sat Aug 27 05:54:19 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 9302267 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 D847C60757 for ; Sat, 27 Aug 2016 05:55:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C9780291CD for ; Sat, 27 Aug 2016 05:55:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB9FA2921C; Sat, 27 Aug 2016 05:55:13 +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 56FA8291CD for ; Sat, 27 Aug 2016 05:55:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753938AbcH0Fyv (ORCPT ); Sat, 27 Aug 2016 01:54:51 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:32919 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753578AbcH0Fyu (ORCPT ); Sat, 27 Aug 2016 01:54:50 -0400 Received: by mail-pf0-f174.google.com with SMTP id y134so34965626pfg.0 for ; Fri, 26 Aug 2016 22:54:49 -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=55Sv0nYQvETG4DeZnl2Uem2gh2kTkNSEVaJkkTifpcg=; b=hAQAbEa+GmV5cIQvm4nNt8KaHLWCieJaGgvG6WwcWzA4SAw698fgP9mcfb719v0711 wQJoGx1kkPdP2Mv8v+Ikm0E4zGBVcQR5bKUyvdxRDkq9TzgmizTIokhCQ4Jj/L38lGZP efsFuOsJ6+ZdAFtM6eWeV/FpLHvfIs96kAMhk= 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=55Sv0nYQvETG4DeZnl2Uem2gh2kTkNSEVaJkkTifpcg=; b=nE02I7u72oDepxCbWgNMd7DO3NoA6cXyZY6oVgpz9eFcUEGAaPklQKs6EAX3oS0srC avTr52O0hBv1BBVQJYJ4l4JK5tsHIdEL2U/vTFDa8r6i/i5PztWAmCeevruqkJ2NICT7 22hCSqitoj4hpfBn+c456KGYJ2N2NoWZVuyllM7Wwh5BIHFSuzguj8A0FG6vgvoFW2gY bALnbNMECamO2iKttPJg2JU5mb/A4N/KlEK0g073M9CZN9p+txwcpuVxNbeeTJMcgkb4 JMLWotkpK8R9Oq8xvx7tSZYWJ0PRdI8/w/3Ozajh4UrWth1eCPgSzKiG1R/rfClttux+ Pb0w== X-Gm-Message-State: AE9vXwM8n7jpt5FcHKlRWp9kENhS1iifEliMqaHsQwnt4PZGPYog4lkaNommShEV6jUocCii X-Received: by 10.98.75.219 with SMTP id d88mr12566959pfj.91.1472277289284; Fri, 26 Aug 2016 22:54:49 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.97]) by smtp.gmail.com with ESMTPSA id s1sm32839915paz.47.2016.08.26.22.54.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Aug 2016 22:54:48 -0700 (PDT) From: Baoyou Xie To: franky.lin@broadcom.com, hante.meuleman@broadcom.com, kvalo@codeaurora.org Cc: baoyou.xie@linaro.org, linux-wireless@vger.kernel.org, brcm80211-dev-list.pdl@broadcom.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, arnd@linaro.org, xie.baoyou@zte.com.cn Subject: [PATCH] fix:brcmfmac: add missing header dependencies Date: Sat, 27 Aug 2016 13:54:19 +0800 Message-Id: <1472277259-28118-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 biuld 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/debuge.h, so this patch add missing header dependencies Signed-off-by: Baoyou Xie --- 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, ...) {